predict.mcb.coxph.penal: predict coxph penal using MCB

View source: R/utils.R

predict.mcb.coxph.penalR Documentation

predict coxph penal using MCB

Description

Compute fitted values and regression terms for a model fitted by coxph

Usage

## S3 method for class 'mcb.coxph.penal'
predict(object, newdata, ...)

Arguments

object

the results of a coxph fit.

newdata

Optional new data at which to do predictions. If absent predictions are for the data frame used in the original fit. When coxph has been called with a formula argument created in another context, i.e., coxph has been called within another function and the formula was passed as an argument to that function, there can be problems finding the data set. See the note below.

...

other parameters pass to predict.coxph

Value

prediction values of regression.

Author(s)

Xin Yu


whirlsyu/EnMCB documentation built on Jan. 25, 2023, 4:33 a.m.