com: Wrapper for coxph

View source: R/survival.R

comR Documentation

Wrapper for coxph

Description

Perform cox regression using coxph function from survival package

Usage

com(response, time, endpoint, scale = FALSE)

Arguments

response

The response variable

time

Time variable, e.g. time to treatment, time to last known alive...

endpoint

Event variable, e.g. treatment, died...

scale

Whether to center and scale the response variable


lujunyan1118/jyluMisc documentation built on March 8, 2024, 12:17 a.m.