fit_all_models: Fit all 17 models

Description Usage Arguments Value See Also Examples

View source: R/fit_models.R

Description

This is a main function of this package. It fits all main 17 models presented in the paper.

Usage

1
2
fit_all_models(data, xtol_rel = 1e-07, maxtime = Inf, n_CPU = 2L,
  save_rda = FALSE)

Arguments

data

The dataset to be used

xtol_rel

Tolerance parameter for nloptr

maxtime

Maximum time (in seconds) allowed for nloptr to fit; use Inf for best fit!

n_CPU

The number of CPU to use for fitting the bootstrapped datasets

save_rda

A boolean indicating whether saving the model as a *.rda object or not

Value

The list of fitted models.

See Also

fit

Examples

1
2
3
## Warning: increase maxtime for real fit!
models_test <- fit_all_models(data = SurvEles_small, maxtime = 1)
models_test

courtiol/SileR documentation built on May 16, 2020, 8:10 p.m.