pcoxtheme: Set theme for pcoxtime plots

View source: R/pcoxtheme.R

pcoxthemeR Documentation

Set theme for pcoxtime plots

Description

Sets a theme for pcoxtime and other ggplot objects

Usage

pcoxtheme()

Value

No return value, called for side effects (setting pcotime plotting theme).

Examples

library(ggplot2)
pcoxtheme()
data(heart, package="survival")
lam <- 0.02
alp <- 1
pfit <- pcoxtime(Surv(start, stop, event) ~ age + year + surgery + transplant
	, data = heart
	, lambda = lam
	, alpha = alp
)

# Plot survival curves
psurv <- pcoxsurvfit(pfit)
plot(psurv)

pcoxtime documentation built on May 13, 2022, 1:05 a.m.

Related to pcoxtheme in pcoxtime...