mini.survival {proptest} | R Documentation |
Minimalist (lightweight) versions of some functions from
the package survival used in smoothproptest
and scoreproptest
. For internal use only.
mini.agreg.fit(x, y, init, control, sort.start, sort.end) mini.coxph.detail(object) mini.survfit.coxph(object)
x |
covariate matrix. |
y |
response (matrix with three columns: start time, stop time, event indicator). |
init |
initial estimates. |
control |
control options (an object of class
coxph.control ). |
sort.start, sort.end |
order. |
object |
a Cox model fit. |
These functions are minimalist versions of the functions
agreg.fit
, coxph.detail
and
survfit.coxph
extracted from the package survival.
They do not perform error checks and do not work with data
frames, model frames etc., which makes them much faster.
They are used in smoothproptest
and scoreproptest
.
These functions are for internal use only.
David Kraus, http://www.davidkraus.net/