Learn R Programming

autoReg (version 0.3.3)

mycphSimple: Fit Simple Proportional Hazards Regression Model

Description

Fit Simple Proportional Hazards Regression Model

Usage

mycphSimple(fit, threshold = 0.2, digits = 2)

Value

An object of class "data.frame"

Arguments

fit

An object of class coxph

threshold

numeric p-value threshold to enter multiple model

digits

integer indicating the position decimal place

Examples

Run this code
require(survival)
data(cancer)
fit=coxph(Surv(time,status)~age+sex+obstruct+perfor,data=colon)
mycphSimple(fit)

Run the code above in your browser using DataLab