ggPMX (version 0.9.4)

pmx_dens: Creates a density plot object

Description

Creates a density plot object

Usage

pmx_dens(x, labels, dname = NULL, xlim = 3, var_line = NULL,
  snd_line = NULL, vline = NULL, ...)

Arguments

x

character variable name to sample

labels

list of texts/titles used within the plot

dname

name of dataset to be used

xlim

numeric x axis limits

var_line

list variable density graphics parameters

snd_line

list normal density graphics parameters

vline

list vertical line graphics parameters

...

others graphics arguments passed to pmx_gpar internal object.

Details

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