data_to_FHT_loss_function: Data to loss function function

Description Usage Arguments Value Examples

View source: R/data_to_FHT_loss_function.R

Description

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

Usage

1
data_to_FHT_loss_function(X, Z, times, delta)

Arguments

X

Design matrix for ln y0 = beta^T * X

Z

Design matrix for mu = gamma^T * Z

times

Survival times (possibly censored)

delta

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

Value

optimizable_function Function taking parameters as a list (containing beta, gamma).

Examples

1
R code here showing how your function works

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