IWRES density plot
pmx_plot_iwres_dens(ctr, dname, xlim, var_line, snd_line, 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 controller
character name of dataset to be used. User can create his own
dataset using set_data and pass it as dname to be plotted.
numeric x axis limits
list variable denstiy graphics parameters
list normal denstiy graphics parameters
list vertical line graphics 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
a object of class pmx_gpar possibly the output of the
pmx_gpar: Shared basic graphics parameters
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
listgeom_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_dens pmx density object.
pmx_update function.
pmx_dens parameters
ggplot2 or list of ggplot2 objects