test_t: Perform a t-test on a Dataset

Description Usage Arguments Value

View source: R/test_funs.R

Description

Function to compute the P-value from a two-sample t-test applied to a dataset. This essentially calls t.test from stats, with some addition optional error checking on inputs, and returns the resulting numeric P-value.

Usage

1

Arguments

data

A list containing two numeric vectors of samples.

...

Further arguments passed to the t.test function.

Value

A single numeric value between 0 and 1, being the P-value from the t-test applied to data.


colinorourke/simpower documentation built on May 21, 2019, 1:42 a.m.