plot.stdCoxph: Plots Cox regression standardization fit

Description Usage Arguments Author(s) See Also Examples

Description

This is a plot method for class "stdCoxph".

Usage

1
2
3
## S3 method for class 'stdCoxph'
plot(x, plot.CI = TRUE, CI.type = "plain", CI.level = 0.95,
  transform = NULL, contrast = NULL, reference = NULL, legendpos="bottomleft", ...)

Arguments

x

an object of class "stdCoxph".

plot.CI

logical, indicating whether confidence intervals should be added to the plot.

CI.type

string, indicating the type of confidence intervals. Either "plain", which gives untransformed intervals, or "log", which gives log-transformed intervals.

CI.level

desired coverage probability of confidence intervals, on decimal form.

transform

a string. If set to "log", "logit", or "odds", the standardized survival function θ(t,x) is transformed into ψ(t,x)=log\{θ(t,x)\}, ψ(t,x)=log[θ(t,x)/\{1-θ(t,x)\}], or ψ(t,x)=θ(t,x)/\{1-θ(t,x)\}, respectively. If left unspecified, ψ(t,x)=θ(t,x).

contrast

a string. If set to "difference" or "ratio", then ψ(t,x)-ψ(t,x_0) or ψ(t,x) / ψ(t,x_0) are constructed, where x_0 is a reference level specified by the reference argument.

reference

must be specified if contrast is specified.

legendpos

position of the legend; see help for legend.

...

further arguments passed on to plot.default.

Author(s)

Arvid Sjolander

See Also

stdCoxph

Examples

1
##See documentation for stdCoxph


Search within the stdReg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.