data_to_optimizable_function: Data to optimizable function

Description Usage Arguments Value Examples

View source: R/data_to_optimizable_function.R

Description

Takes design matrices X, Z and data t, delta, and returns a function to be optimized.

Usage

1
data_to_optimizable_function(X, Z, times, delta)

Arguments

X

Design matrix for ln y0 = beta^T * X

Z

Design matrix for mu = gamma^T * Z

delta

Vector of same length as t, indicating if observations are actually observed (1) or censored (0)

t

Survival times (possibly censored)

Value

optimizable_function Function taking parameters as a vector (containing beta, gamma), to be optimized over.

Examples

1
R code here showing how your function works

vegarsti/fhtboost documentation built on Dec. 14, 2019, 10:44 p.m.