plot.predict.survivalFS: Survival and Cumulative Hazard Function Plot

Description Usage Arguments Author(s)

Description

Plots predicted survival or cumulative hazard curves of new observations for an object of class predict.survivalFS.

Usage

1
2
3
4
## S3 method for class 'predict.survivalFS'
plot(x, select_obs, xlab = "time", ylab = NULL, 
              ylim = NULL, type = "l", main = NULL, sub = NULL, 
              vec_col = NULL, vec_lty = NULL, addLegend = TRUE, ...)

Arguments

x

an object of class predict.survivalFS as generated by the function predict.logicBagg.

select_obs

a numeric vector identifying the observations whose survival curves should be plotted. If is.missing(select.obs) the first five observations, or, if the number of observations is less than five, all observations are chosen.

xlab

a title for the x axis: see title.

ylab

a title for the y axis: see title. If NULL, the title is generated automatically.

ylim

a numeric vector of length 2 that sets the limits of the y axis. If NULL, the limits are generated automatically.

type

character indicating the type of plotting; actually any of the types as in plot.default.

main

an overall title for the plot: see title. If NULL, the main title is generated automatically.

sub

a sub title for the plot: see title. If NULL, the sub title is generated automatically.

vec_col

a numeric or character vector that specifies the plotting colors of the survival curves (see par). Vector must have the same length as select_obs.

vec_lty

a numeric or character vector that specifies the line types of the survival curves (see par). Vector must have the same length as select_obs.

addLegend

should a legend be added to the plot automatically?

...

Ignored.

Author(s)

Tobias Tietz, tobias.tietz@hhu.de


holgerschw/logicFS documentation built on April 15, 2020, 10:42 p.m.