randSamps: Randomly Assign Class Labels

Description Usage Arguments

View source: R/rand.R

Description

This function randomly assigns class labels.

Usage

1
randSamps(n.samples, n.groups = 2, prob = NULL)

Arguments

n.samples

The number of samples to label.

n.groups

The number unique classes.

prob

Argument passed to sample.


tpq/miSciTools documentation built on Sept. 16, 2019, 4:43 p.m.