plot_vpc | R Documentation |
Compute visual predicted check plot
plot_vpc(dataset, x = "TIME", y = "IPRED", sim = "SIMUL",
obs = "OBS", type_scatter_CI = "CI", quantiles = c(5, 50, 95),
CIpct = 5, statobs = T, group = "", ylog = T, stat_obs = F,
loq_obs = 0, xlabel = "", ylabel = "", ymin_displayed = 0,
filterr = "")
dataset |
Dataframe containing simulations |
x |
Name of x columns (Time columns most of time) |
y |
Name of Y columns (IPRED, DV...) |
sim |
Name of simulation columns (SIM, SIMUL...) |
obs |
Name of observation columns (to add dots) |
group |
Name of one or several group to split (e.g. "AGE + SEX") |
ylog |
Booléen, if the plot must be turned in logarithmic scale |
stat_obs |
Booléen, if stats of observation (q5, q50, q95) must be displayed |
loq_obs |
Value of loq for observation |
xlabel |
Name of the label for x |
ylabel |
Name of the label for y |
ymin_displayed |
Value of loq for simulations (on test, use with precaution) |
id |
Name of the column with ID |
A ggplot object (modifiable)
Thibaud Derippe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.