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

Description Usage Arguments Details Value See Also Examples

View source: R/makeInt.R

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

1
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.

Details

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

Value

Returns an object of class "Surv"

See Also

FIXME - reference to survival package and Surv function.

Examples

1
#not run, internal function

binequality documentation built on May 19, 2017, 1:46 p.m.

Search within the binequality package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.