| fit_c_functions | R Documentation |
Fits right-censoring models for each stage or a single model across all stages.
fit_c_functions(policy_data, c_models, full_history = FALSE)
policy_data |
Policy data object created by |
c_models |
Single c_model or list of K+1 c_models |
full_history |
Logical; use full history (TRUE) or Markov-type history (FALSE) |
The function handles two scenarios:
Multiple models: One model per stage (length K+1)
Single model: Same model applied across all stages
List of fitted censoring functions with class "c_functions"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.