gg_scaledsch: Plot scaled schoenfeld residuals vs. time

Description Usage Arguments

View source: R/coxph_plots.R

Description

Creates a ggplot object/plot of scaled schoenfeld residuals vs. (transformed) time.

Usage

1
gg_scaledsch(fit, transform = "km")

Arguments

fit

the result of fitting a Cox regression model, using the coxph or coxme functions.

transform

a character string specifying how the survival times should be transformed before the test is performed. Possible values are "km", "rank", "identity" or a function of one argument.


adibender/ldatools documentation built on March 7, 2020, 5:30 a.m.