run_S_func_model: run_S_func_model

View source: R/survival_modelling.R

run_S_func_modelR Documentation

run_S_func_model

Description

run_S_func_model

Usage

run_S_func_model(df, S_func, coxmodel = NULL, date_seq, horizon = 48)

Arguments

df

dataset of spells

S_func

survival function

date_seq

sequence of dates to predict for

horizon

how far ahead to predict (default 48h)

Value

object containing prediction table and diagnostics


HorridTom/hospitalflow documentation built on June 14, 2022, noon