
Quantile-quantile plots
Quantile-quantile plot of IWRES
Quantile-quantile plot of eta variables
Quantile-quantile plot of NPDE
Quantile-quantile plot of NPD
Quantile-quantile plot of CWRES
pmx_qq_plot(
dname,
point,
is.reference_line,
reference_line,
is.shrink,
shrink,
is.hline,
hline,
is.vline,
vline,
filter,
strat.facet,
facets,
strat.color,
trans,
pmxgpar,
labels,
axis.title,
axis.text,
ranges,
is.smooth,
smooth,
is.band,
band,
is.draft,
draft,
is.identity_line,
identity_line,
scale_x_log10,
scale_y_log10,
color.scales,
...
)pmx_plot_iwres_qq(ctr, ...)
pmx_plot_eta_qq(ctr, ...)
pmx_plot_npde_qq(ctr, ...)
pmx_plot_npd_qq(ctr, ...)
pmx_plot_cwres_qq(ctr, ...)
ggplot2 object
name of dataset to be used
list
geom_point parameters.
logical
if TRUE add reference line to the plot
list
geom_abline parameters.
logical
if TRUE add shrinkage to the plot
pmxShrinkClass
shrinkage graphical parameter or
list
coercible into one
logical
if TRUE add horizontal line y=0 ( TRUE by default)
list
geom hline graphical parameters
logical
if TRUE add vertical line x=0 ( TRUE by default)
list
geom vline graphical parameters
pmx_update parameters
expression
filter which will be applied to plotting data.
formula
optional stratification parameter by facetting.
This split plot by strats(each strat in a facet)
list
facet_wrap parameters.
character
optional stratification parameter by grouping.
This will split the plot by group (color) of strat.
character
define the transformation to apply on x or y or both variables
an object of class pmx_gpar
list
list containing plot and/or axis labels: title, subtitle, x , y
list
containing element_text attributes to customize
the axis title. (similar to ggplot2 axis.title theme)
list
containing element_text attributes to customize
the axis text (similar to ggplot2 axis.text theme)
list
limits of x/y ranges
logical
if set to TRUE add smooth layer
list
geom_smooth graphical/smoothing fun parameters
logical
if TRUE add horizontal band
list
horizontal band parameters. geom_hline graphical parameters.
logical
if TRUE add draft layer
list
draft layer parameters. geom_text graphical parameters.
logical
if TRUE add an identity line
list
geom_abline graphical parameters.
logical
if TRUE use log10 scale for x axis.
logical
if TRUE use log10 scale for y axis.
list
define scales parameter in case of strat.color pmx_settings
others graphics parameters passed :
pmx_gpar
internal function to customize shared graphical parameters
pmx_qq
quantile-quantile plot object.
pmx_update
function.
pmx_qq parameters
pmx controller
# \donttest{
# *************** basic use ***************** ------
ctr <- theophylline()
ctr %>% pmx_plot_eta_qq
ctr %>% pmx_plot_npde_qq
ctr %>% pmx_plot_iwres_qq
# update graphical parameter ----------------------
## add reference line
ctr %>% pmx_plot_npde_qq(reference_line=list(color="blue"))
## remove reference line
ctr %>% pmx_plot_eta_qq(reference_line=NULL)
# stratification ----------------------------------
## categorical stratification color parameter
ctr %>% pmx_plot_iwres_qq(strat.facet=~STUD,strat.color="SEX")
## categorical stratification facetting
ctr %>% pmx_plot_eta_qq(strat.facet = ~SEX)
## do not use symmetric axis
ctr %>% pmx_plot_npde_qq(xmax=FALSE,reference_line=list())
# }
Run the code above in your browser using DataLab