sampleWithoutBiasOrNA: sampleWithoutBiasOrNA

Description Usage Arguments Value

View source: R/utility.R

Description

Perform the sample function after removing any duplicate or NA values from the vector

Usage

1

Arguments

x

the vector to choose from

size

the number of items to choose

replace

should sampling be with replacement?

Value

the result of the sample function on x


porteous54/caRtesian documentation built on May 30, 2019, 11:43 a.m.