dot-get.sample.size: Internal function that asks user to specify sample size for...

.get.sample.sizeR Documentation

Internal function that asks user to specify sample size for guided version of recruit() and validates user-specified inputs

Description

Intended only to be called within recruit(), not as a standalone function

Usage

.get.sample.size(valid_inputs)

Arguments

valid_inputs

vector, enumerates the possible number of units to recruit, based on the population size

Value

The function returns a list of formatted recruitment results for user interpretation: a table of results, a corresponding kable, and a the number of units selected from each stratum


NUstat/generalizeR documentation built on Feb. 7, 2024, 6:39 p.m.