Learn R Programming

Greg (version 1.2)

prGetFpDataFromFit: Gets the confidence interval, p-values, coefficients from a survival object

Description

Gets the confidence interval, p-values, coefficients from a survival object

Usage

prGetFpDataFromFit(model_fit, conf.int = 0.95, exp = TRUE)

Arguments

model_fit
A regression fit from CRR, coxph, cph object
conf.int
The interval of interest 0-1, see levels in confint()
exp
If the value should be in exponential form (default)

Value

A matrix with the columns:
beta
The estimated coefficient
p_val
P-value
low
The lower confidence interval
high
The upper confidence interval
order
A column that later can be used in ordering