fc_tryfit {failCompare}R Documentation

Error handling for fitting failCompare models

Description

Error handling for fitting failCompare models

Usage

fc_tryfit(
  y = y,
  y_sfrac = NULL,
  fit_call,
  model = "weibull3",
  non_cen = NULL,
  Hess = NULL
)

Arguments

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

Details

Prevents errors from interupting single- and multi-model runs using fc_fit

Value

model fitting output for internal use by fc_fit


[Package failCompare version 1.0.0 Index]