ggPMX (version 0.9.4)

pmx_qq: This function creates a qq plot object

Description

This function creates a qq plot object

Usage

pmx_qq(x, labels, dname = NULL, point = NULL, xmax = TRUE,
  facets = NULL, is.reference_line = NULL, reference_line = NULL,
  is.shrink = NULL, shrink = NULL, is.hline = NULL, hline = NULL, ...)

Arguments

x

character variable name to sample

labels

list of texts/titles used within the plot

dname

name of dataset to be used

point

list geom_point attributes color, shape,...

xmax

logical if FALSE do not use max(aes(x)) as limits default to TRUE

facets

list

is.reference_line

logical if TRUE add reference line to the plot

reference_line

list geom_line attributes. Used only for pmx_plot_eta_qq

is.shrink

logical if TRUE add shrinkage to the plot

shrink

list shrinkage graphical parameter

is.hline

logical if TRUE add horizontal line y=0 ( TRUE by default)

hline

geom hline graphical parameters

...

others graphics arguments passed to pmx_gpar internal object.

Value

pmx_qq object

Details

labels is a list that contains:

  • title: plot title default "EBE vs. covariates"

  • x: x axis label default to "Etas"

  • y: y axis label default to empty

point is a list that contains:

  • shape: default to 1

  • color: default to black

  • size: default to 1