mlx.VPC | R Documentation |
This function allows you to have almost a publication ready VPC plot of a monolix run.
mlx.VPC(
project.dir = "../monolix/",
project.name = "",
drug = NULL,
y = NULL,
disp = "lin",
obs = TRUE,
size = 0.5,
time.unit = "day",
simulated = FALSE,
corrected = FALSE,
colors = c("#4682B4", "#FF0000", "#0080FF")
)
project.dir |
Absolute or relative name of the folder of the monolix project. |
project.name |
Name of the monolix project file without *.mlxtran* extension. The project must be in *project.dir* |
drug |
Text for the legend. Typicaly name of the drug. Can be a **TeX** object from package **latex2exp** |
y |
Name of the Obs values. |
disp |
Display in *lin* or *log*. Default to *lin*. |
obs |
Plot observed data?. Default to *TRUE*. |
size |
Size of the observed data dots. Default to *0.5*. Useless if *obs = FALSE*. |
time.unit |
Time unit for the x legend. Default to *"day"*. |
simulated |
Use simulated Blq data? Default to *FALSE*. |
corrected |
Dose the predictions are corrected? Default to *FALSE*. |
colors |
Color palette : order: c(lines and dots, central ribbon, lower and uper ribbon). Default to *c("#4682B4", "#FF0000", "#0080FF")*. |
# getwd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.