sample_mean: Generating the means of a sub-sample from a vector and then...

Description Usage Arguments Value

View source: R/sample_mean.R

Description

Generating the means of a sub-sample from a vector and then outputting it into a vector

Usage

1
sample_mean(vec, n)

Arguments

vec

a numeric vector

n

an integer that indicates the random sample size

Value

a vector of sample means


cynthwu/SampleMeans documentation built on Dec. 19, 2021, 7:09 p.m.