whatToDo: What to do: split and combine or bootstrap?

View source: R/whatToDo.R

whatToDoR Documentation

What to do: split and combine or bootstrap?

Description

decide between data splitting/combine and bootstrap

Usage

whatToDo(
  FUN,
  B = 10,
  K = 10,
  mydata,
  myargs,
  myargsBoot,
  myargsPart,
  timeunit = "mins",
  myseed = 29021986
)

Arguments

FUN

Name of function to call.

B

Number of bootstrap replications.

K

Number of splits.

mydata

Data.

myargs

Common arguments of the function for both Bootstrap and split method.

myargsBoot

Specific arguments of the function for the Bootstrap method.

myargsPart

Specific arguments of the function for the Bootstrap method.

timeunit

Time units (to print the results).

myseed

Random seed (for reproducibility).

Value

nothing

Author(s)

Paul Blanche


tagteam/heaven documentation built on March 24, 2024, 7:58 a.m.