bootstrap_error: Bootstrap the standard deviation of the mean

Description Usage Arguments Value Author(s)

View source: R/bootstrap_error.R

Description

This function performs a bootstrap on a vector of deviations from means along a given variable to measure the error of the mean

Usage

1
bootstrap_error(x, N = 999, printit = F)

Arguments

x

A vector of deviations from the mean (or any numbers).

N

An integer. The number of samplings to perform.

printit

Logical. Whether to print the iteration to the prompt.

Value

The standard deviation of the re-calculated means of all bootstrapped samples.

Author(s)

Raphael Scherrer


rscherrer/bop documentation built on May 22, 2019, 3:54 p.m.