fc_tryfit {failCompare} | R Documentation |
Error handling for fitting failCompare models
fc_tryfit( y = y, y_sfrac = NULL, fit_call, model = "weibull3", non_cen = NULL, Hess = NULL )
y |
numeric time argument of failure times carried through |
y_sfrac |
survival fraction |
fit_call |
call to dependent model fitting functions. |
model |
model argument passed from fc_fit() |
non_cen |
logical indicating censored variables for use by flexsurv and vitality models |
Hess |
logical arguement to fc_fit() carried through |
Prevents errors from interupting single- and multi-model runs using fc_fit
model fitting output for internal use by fc_fit