ph.fit: Fit Proportional Hazards (PH) model

Description Usage Arguments Value

View source: R/crocfuncollection.R

Description

This function fits the PH model given outcome y and covariates x

Usage

1
ph.fit(x, y, ...)

Arguments

x

a matix of predictors. This should not include an intercept.

y

a numeric vector containing the outcome (no censoring for now).

Value

an object of class coxph representing the fit.


liffuchen/cROC documentation built on May 14, 2020, 9:08 p.m.