plot-methods: Plot methods for Sibyl package

Description Usage Arguments

Description

Plot methods for Sibyl package

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'AvCurvePlotData,missing'
plot(x, use.facet = TRUE,
  outputModel = NULL, xMax = NULL, useCI = FALSE)

## S4 method for signature 'SemiParametricModel,missing'
plot(x, type = c("KM", "CumHaz",
  "LoglogS", "LogoddS", "InvNormS", "Gompertz")[1], use.facet = TRUE,
  armColours = c("black", "red", "blue", "green", "yellow", "orange"), ...)

Arguments

x

(SemiParametricModel object) contains data to be plotted

use.facet

(logical) should the treatment arms be split into different facets - unused for a single arm trial

outputModel

(character) which model's survival curves should be plotted (default NULL implies use all) if =character(0) then output only the KM curve

xMax

(numeric or default NULL) the x-axis limit for the graph. If not included then all data is displayed

useCI

(logical) TRUE if including CI on graph, FALSE otherwise

type

(character) the type of plot to be created; one of "KM", "CumHaz", "LoglogS", "LogoddS" or "InvNormS", "Gompertz"

armColours

(vector of colours) the colours for the treatment arms for all graphs except the KM curve (use the col argument to set the colour for the KM graph)

...

arguments to be passed to azplot.km when type = "KM"


scientific-computing-solutions/sibyl documentation built on May 21, 2019, 8:40 a.m.