pmx_qq: This function creates a qq plot object

View source: R/plot-qq.R

pmx_qqR Documentation

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,
  is.vline = 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

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

pmxShrinkClass shrinkage graphical parameter or list coercible into one

is.hline

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

hline

geom hline graphical parameters

is.vline

logical if TRUE add vertical line x=0 ( TRUE by default)

vline

geom vline graphical parameters

...

others graphics arguments passed to pmx_gpar internal 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

Value

pmx_qq object


ggPMX documentation built on July 9, 2023, 7:45 p.m.