Creates a density plot object
pmx_dens(
x,
labels,
dname = NULL,
xlim = 3,
var_line = NULL,
snd_line = NULL,
vline = NULL,
is.legend = TRUE,
...
)
character
variable name to sample
list of texts/titles used within the plot
name of dataset to be used
numeric
x axis limits
list
variable density graphics parameters
list
normal density graphics parameters
list
vertical line graphics parameters
logical
whether to add a legend (defaults TRUE)
others graphics arguments passed to pmx_gpar
internal object.
labels is a list that contains:
title: plot title default "IWRES density plot"
x: x axis label default to "Etas"
y: y axis label default to empty
var_line is a list that contains:
linetype: default to 1
color: default to black
size: default to 1
snd_line is a list that contains:
linetype: default to 2
color: default to black
size: default to 1
vline is a list that contains:
linetype: default to 3
color: default to black
size: default to 1