coef.coxph_mpl function

Extract coefficients of a coxph_mpl Object or of its summary

Extract coefficients of a coxph_mpl Object or of its summary

Extract the coefficients of the model part of interest of a coxph_mpl

object, and the matrix of coefficients of the model part of interest and corresponding standard errors, zz-statistics and pp-values of a summary.coxph_mpl object. utf8

## S3 method for class 'coxph_mpl' coef(object, parameters="Beta",...) ## S3 method for class 'summary.coxph_mpl' coef(object, parameters="Beta",...)

Arguments

  • object: an object inheriting from class coxph_mpl or summary.coxph_mpl.
  • parameters: the set of parameters of interest. Indicate parameters="Beta" for the regression parameters and parameters="Theta" for the baseline hazard parameters. Default is parameters="Beta".
  • ...: other arguments.

Returns

a vector of coefficients or a matrix of coefficients with standard errors, z-statistics and corresponding p-values.

Details

When the input is of class summary.coxph_mpl and parameters=="Theta", only the parameter estimates larger than min.Theta (see coxph_mpl.control) are reported.

See Also

coxph_mpl and summary.coxph_mpl.

Author(s)

Dominique-Laurent Couturier, Maurizio Manuguerra

Examples

## Not run: data(lung) fit_mpl <- coxph_mpl(Surv(time, status == 2) ~ age + sex + ph.karno + wt.loss, data = lung) coef(fit_mpl) coef(summary(fit_mpl)) ## End(Not run)
  • Maintainer: Dominique-Laurent Couturier
  • License: LGPL (>= 2)
  • Last published: 2025-03-24

Useful links