Learn R Programming

Cyclops (version 3.5.1)

residuals.cyclopsFit: Model residuals

Description

residuals.cyclopsFit computes model residuals for Cox model-based Cyclops objects

Usage

# S3 method for cyclopsFit
residuals(object, parm = NULL, type = "schoenfeld", ...)

Arguments

object

A Cyclops model fit object

parm

A specification of which parameters require residuals, either a vector of numbers or covariateId names

type

Character string indicating the type of residual desires. Possible values are "schoenfeld".

...

Additional parameters for compatibility with S3 parent function