PLL.coxph: Predictive partial log-likelihood for Cox poportional hazards...

View source: R/PLL.coxph.R

PLL.coxphR Documentation

Predictive partial log-likelihood for Cox poportional hazards model

Description

Extracts the predictive partial log-likelihood from a coxph model fit.

Usage

## S3 method for class 'coxph'
PLL(object, newdata, newtime, newstatus, complexity, ...)

Arguments

object

fitted model of class coxph.

newdata

n_new*p matrix of covariates.

newtime

n_new-vector of censored survival times.

newstatus

n_new-vector of survival status, coded with 0 and .1

complexity

not used.

...

additional arguments, not used.

Details

Used by function peperr, if function fit.coxph is used for model fit.

Value

Vector of length n_new


peperr documentation built on March 31, 2023, 7:34 p.m.