Learn R Programming

binequality (version 1.0.4)

makeInt: A function to create a survival object from bin counts.

Description

This function creates a survival object from bin counts, these data cannot be right censored. There is a separate function for the right censored bins.

Usage

makeInt(ints, hb, trans = NULL)

Arguments

ints

a (non-empty) numeric matrix containing the bin end points, there must be as many rows as length(hb) and the lower bin should be on the left.

hb

a (non-empty) numeric vector of bin heights.

trans

an optional function to transform the bins.

Value

Returns an object of class "Surv"

Details

Creates a survival object. FIXME - reference to survival package and Surv function.

See Also

FIXME - reference to survival package and Surv function.

Examples

Run this code
# NOT RUN {
#not run, internal function
# }

Run the code above in your browser using DataLab