conf_int: This function takes in a vector and outputs the 95%...

Description Usage Arguments Value

Description

This function takes in a vector and outputs the 95% confidence interval of the sample mean.

Usage

1

Arguments

data

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

Value

A 2-element 1D vector indicating the start and end of the 95% confidence interval.


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