fit2lik: extract likelihood information with a coxph object

View source: R/gaze.coxph.R

fit2likR Documentation

extract likelihood information with a coxph object

Description

extract likelihood information with a coxph object

Usage

fit2lik(x)

Arguments

x

An object of class "coxph" or "survreg"

Value

A string

Examples

library(survival)
fit=coxph(Surv(time,status) ~rx,data=anderson)
fit2lik(fit)

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.