dg_bootstrap: Bootstrap procedure to estimate the uncertainty of free...

Description Usage Arguments Value

View source: R/dg_bootstrap.R

Description

Bootstrap procedure to estimate the uncertainty of free energies parameters of a model

Usage

1
2
3
4
5
6
7
dg_bootstrap(
  dataset_folder,
  model_name,
  iteration = 1,
  return_model = FALSE,
  maxit = 10000
)

Arguments

dataset_folder

absolute path to the dataset folder, is created if non-existent

model_name

name of the model that should be computed on the dataset

iteration

integer, to calucate a set of models and get reproducible results

return_model

logical, if TRUE, returns a data.table with fitted values for all model parameters, default = FALSE

maxit

integer, maximum number of iterations by optim algorithm, default = 1e4

Value

writes the boostrapped model parameters as .txt file to $dataset_folder/$model_name/tmp/dg_boostrap_$iteration


jschmiedel/tempura documentation built on Nov. 13, 2020, 3:53 a.m.