sample_mean: Takes a vector and from it takes a random sample of size n,...

Description Usage Arguments Value

View source: R/sample_mean.R

Description

Takes a vector and from it takes a random sample of size n, then calculates sample mean

Usage

1
sample_mean(vec, n)

Arguments

vec

A vector

n

A number to represent the size of the sample

Value

A vector containing the sample mean.


reillynski/samplemeans documentation built on Aug. 9, 2020, 12:35 a.m.