powered by
Extract the number of observations from a Cox model
coxN(object)# S3 method for cph coxN(object)# S3 method for coxph coxN(object)# S3 method for phreg coxN(object)# S3 method for CauseSpecificCox coxN(object)# S3 method for glm coxN(object)
# S3 method for cph coxN(object)
# S3 method for coxph coxN(object)
# S3 method for phreg coxN(object)
# S3 method for CauseSpecificCox coxN(object)
# S3 method for glm coxN(object)
The fitted Cox regression model object either obtained with coxph (survival package), cph (rms package), or phreg (mets package).
coxph
cph
phreg