check_fn_args: Check whether the arguments in the function are correctly...

Description Usage Arguments Value

View source: R/utils-common.R

Description

check_fn_args is used to assess whether the arguments are correctly specified and returns an error message if they do not match the correct specification

Usage

1
check_fn_args(n = NULL, B = NULL, m = NULL)

Arguments

n

Sample size.

B

Bootstrap repetitions or number of bootstrap samples to be drawn.

m

Number of observations to be sampled with replacement from the dataset for each bootstrap repetition.

Value

(logical) returns TRUE if the logical assertions are satisfied


shamindras/maars documentation built on Sept. 21, 2021, 2:50 a.m.