get_best_form: Extract specification of model with the lowest brier score

Description Usage Arguments Value

View source: R/pec-eha-aftreg.R

Description

Extract specification of model with the lowest brier score

Usage

1
get_best_form(pec_df, times = NULL)

Arguments

pec_df

A data frame containing prediction error (brier score) on different time points.

times

The time(s) for which the best fit will be searched.

Value

The formula of the model that produced the lowest brier score at time time.


adibender/ldatools documentation built on March 7, 2020, 5:30 a.m.