mini.survival {proptest}R Documentation

Minimalist Versions of Functions from the Package survival

Description

Minimalist (lightweight) versions of some functions from the package survival used in smoothproptest and scoreproptest. For internal use only.

Usage

mini.agreg.fit(x, y, init, control, sort.start, sort.end)

mini.coxph.detail(object)

mini.survfit.coxph(object)

Arguments

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.

Details

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.

Warning

These functions are for internal use only.

Author(s)

David Kraus, http://www.davidkraus.net/


[Package proptest version 0.1-1 Index]