t_test: Calculates a t-statistic of the data relative to a mean which...

Description Usage Arguments Value

View source: R/t_test.R

Description

Calculates a t-statistic of the data relative to a mean which may be specified.

Usage

1
t_test(data, mean_0 = 0)

Arguments

data

A 1D vector of numbers. Non-numerical values result in an error.

mean_0

A 1D vector of numbers. Non-numerical values result in an error.

Value

The t statistic


UBC-MDS/hypeR documentation built on May 22, 2019, 2:26 p.m.