pmx_bloq: Creates BLOQ object attributes

View source: R/pmxClass.R

pmx_bloqR Documentation

Creates BLOQ object attributes

Description

Creates BLOQ object attributes

Usage

pmx_bloq(
  cens = "CENS",
  limit = "LIMIT",
  colour = "pink",
  size = 2,
  linewidth = 1,
  alpha = 0.9,
  show = TRUE,
  ...
)

Arguments

cens

character the censoring column name

limit

character the limit column name (optional)

colour

character the color of the geom

size

numeric the size of the geom when using geom_point()

linewidth

numeric the line width of the segment when using geom_segment()

alpha

numeric the alpha of the geom

show

logical if FALSE remove all censory observations

...

any other graphical parameter

Details

To define that a measurement is censored, the observation data set should include a CENSORING column ( default to 'CENS' ) and put 1 for lower limit or -1 for upper limit.
Optionally, data set can contain have a limit column ( default to 'LIMIT') column to set the other limit.


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