build.y: build.y

Description Usage Arguments Details Value Author(s) Examples

Description

Build the y survival object for a glmnet model

Usage

1

Arguments

formula

A formula

data

A data.frame

Details

Given a formula and a data.frame build the y survival object

Value

A surival object for the portion of the formula in Surv

Author(s)

Jared P. Lander

Examples

1
2
3
require(ggplot2)
head(mpg)
head(build.y(hwy ~ class + cyl + year, data=mpg))


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

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

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

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