plot.survDataVarExp: Plotting method for 'survDataVarExp' objects

View source: R/plot.survDataVarExp.R

plot.survDataVarExpR Documentation

Plotting method for survDataVarExp objects

Description

This is the generic plot S3 method for the survDataVarC class. It plots the number of survivors as a function of time.

Usage

## S3 method for class 'survDataVarExp'
plot(
  x,
  xlab = "Time",
  ylab = "Number of survivors",
  main = NULL,
  one.plot = FALSE,
  facetting_level = NULL,
  ...
)

Arguments

x

an object of class survDataVarExp

xlab

a label for the X-axis, by default Time

ylab

a label for the Y-axis, by default Number of survivors

main

main title for the plot

one.plot

if TRUE, draws all the points in one plot instead of one per replicate

facetting_level

a vector of characters to rank replicates in the multi plot (i.e. one.plot == FALSE)

...

Further arguments to be passed to generic methods

Value

an object of class ggplot, see function ggplot


morse documentation built on Oct. 29, 2022, 1:14 a.m.