Specify simulated dataset and variables for VPC
1 2 3 4
data.frame or data.table of simulated data
numeric y-variable, typically named DV
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 subsetting
MDV == 0 before generating VPC. The ordering of observed and simulated
data must also be consistent, with replicates in simulated data stacked on top of each other.
tidyvpcobj containing simulated dataset
sim formatted with columns
repl which indicates the replicate number.
x is used from the
observed() function. Resulting dataset is of class
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.