simulated: Specify simulated dataset and variables for VPC
Description
The simulated function is used for specifying simulated input data and
variables for VPC. Note: Simulated data must not contain missing DV and may
require filtering MDV == 0 before generating VPC. Simulated data must
be ordered by: Replicate, Subject (ID), IVAR (Time).
Usage
simulated(o, ...)
# S3 method for tidyvpcobj
simulated(o, data, ysim, ..., xsim)
Value
A tidyvpcobj containing simulated dataset sim formatted with columns x, y, and repl, which indicates the replicate number.
The column x is used from the observed() function. Resulting dataset is of class data.frame and data.table.