t.one.sample: Statistic for Bootstrapped One-sample t-test.

Description Usage Arguments Value

View source: R/boot.R

Description

The function to pass to bcaboot to perform the one-sample t-test via bootstrapping.

Usage

1
2
## S3 method for class 'one.sample'
t(data, id = 1:length(data))

Arguments

data

a vector containing the sample

id

the id variable used by boot

Value

A single value of the bootstrapped sample mean.


ddarmon/clp documentation built on Jan. 25, 2021, 6:22 p.m.