my_t.test: my t.test for data

Description Usage Arguments Value Examples

View source: R/my_t.test.R

Description

my t.test for data

Usage

1
my_t.test(x, alternative = "two.sided", mu = 60)

Arguments

x

Numeric vector input

alternative

String input, should be "two.sided", "less" or "greater".

mu

Numeric input, the mean of the null hypothesis value. default to 60.

Value

A list includes alternative and p_value.

Examples

1
2
3
my_t.test(x)
my_t.test(x, alternative="less")
my_t.test(x, alternative="greater", mu=60)

Jenniferdny/mySTAT302package documentation built on Dec. 18, 2021, 1:28 a.m.