boot_mean: 'boot' statistic functions

Description Usage Arguments Value Functions

Description

A series of functions for internal use within boot only. The functions calculate measures of central tendency (arithmetic mean, geometric mean, harmonic mean, median, and mode), differences in measures of central tendency (difference in arithmetic means, difference in geometric means, difference in harmonic means, and difference in medians), proportions, and odds ratios.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21

Arguments

d

A data frame.

For 'boot_mean', 'boot_geometric', 'boot_harmonic', 'boot_median', and 'boot_mode', the data frame must consist of a single column of numeric data (dimensions: n x 1).

For 'boot_prop', the data frame must consist of a single column of binomial categorical data (dimensions: n x 1).

For 'boot_delta_mean', 'boot_delta_geometric', 'boot_delta_harmonic', and 'boot_delta_median', the data frame must consist of a two columns. The first column must be numeric data, and the second column must be a two-level grouping variable (dimensions: n x 2).

For 'boot_OR' the data frame must consist of a two columns. The first column must be binomial categorical data, and the second column must be a two-level grouping variable (dimensions: n x 2).

i

Internal indexing parameter used by boot for resampling. Do not change.

Value

Returns and object of class "boot".

Functions


kamermanpr/BootCentral documentation built on May 8, 2019, 6:52 p.m.