vpc_data | R Documentation |
Generate visual predictive checks (VPC) data
vpc_data(
xpdb,
opt,
stratify,
vpc_type = c("continuous", "categorical", "censored", "time-to-event"),
psn_folder = NULL,
psn_bins = FALSE,
obs_problem = NULL,
sim_problem = NULL,
quiet
)
xpdb |
An xpose database object. |
opt |
A list of options regarding binning, pi and ci computation.
For more information see |
stratify |
Either a character string or a formula to stratify the data. For 'categorical' vpcs the stratification fixed to the different categories. |
vpc_type |
A string specifying the type of VPC to be created, can be one of: 'continuous', 'categorical', 'censored' or 'time-to-event'. |
psn_folder |
Specify a PsN-generated VPC-folder. |
psn_bins |
Only used with argument |
obs_problem |
Alternative to the option 'psn_folder'. The $problem number to be used for observations. By default returns the last estimation problem. |
sim_problem |
Alternative to the option 'psn_folder'. The $problem number to be used for simulations. By default returns the last simulation problem. |
quiet |
Logical, if |
vpc
vpc_opt
## Not run:
xpdb_ex_pk %>%
vpc_data() %>%
vpc()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.