View source: R/model_helper_functions.R
get_start | R Documentation |
A function to generate principled starting values for optimization, based on model specifications.
get_start(
y1,
y2,
delta1,
delta2,
Xmat1,
Xmat2,
Xmat3,
basis1,
basis2,
basis3,
basis3_y1,
dbasis1,
dbasis2,
dbasis3,
hazard,
frailty,
model,
sparse_start = FALSE
)
y1 , y2 |
Numeric vectors of length |
delta1 , delta2 |
Numeric vectors of length |
Xmat1 , Xmat2 , Xmat3 |
Numeric matrices with |
basis1 , basis2 , basis3 , basis3_y1 |
Numeric matrices with |
dbasis1 , dbasis2 , dbasis3 |
Numeric matrices with |
hazard |
String specifying the form of the baseline hazard. |
frailty |
Boolean indicating whether a gamma distributed subject-specific frailty should be included. Currently this must be set to TRUE. |
model |
String specifying the transition assumption |
sparse_start |
Boolean indicating whether to set all regression parameters
to 0 if |
A vector of starting parameter values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.