Generalized simulations output (GSO) is the long-format data frame returned
by sg_sim() and related simulation helpers. Run the bundled gsi_pk1c
scenario with gmo_pk1c to reproduce the standard example output.
Format
GSO
A data frame in long format with one row per ID, replicate, time point, and
output variable. With population uncertainty (thetamat, npop > 1) typical
columns are:
IDDosing scenario identifier from the event table.
POPNPopulation replicate index (present when
thetamatis used).sim.idSubject replicate index (present when
omegais used).TIMESimulation time (h).
VAROutput variable name (e.g.
"Cc").VALUESimulated value.
When aggr is set, aggregation statistic columns (mean, median, P05,
…) replace or supplement VALUE; see the Details section of sg_sim().
Examples
# \donttest{
gso <- do.call(sg_sim, c(list(model = gmo_pk1c), gsi_pk1c))
#> Error in rxModelVars(object)$flags[["hasDelay"]]: subscript out of bounds
names(gso)
#> Error: object 'gso' not found
head(gso)
#> Error: object 'gso' not found
subset(gso, VAR == "Cc" & ID == 1 & POPN == 1)
#> Error: object 'gso' not found
# }
