The following methods will construct valid objects of class
monteNTSample." Please see the
‘“monte”: When is n Sufficiently Large?’
vignette for more details and examples.
signature(population = "montePop")
This method works with an object of class
montePop" as the signature argument.
monteNTSample(population, n = c(10), mcSamples = 100, alpha = 0.05, replace = TRUE, startSeed = NA, runQuiet = TRUE, ... )
population: An object of class
montePop" containing the population
n: A vector of sample sizes that will be used to
mcSamples Monte Carlo samples from the population.
mcSamples: A scalar specifying the number of Monte
Carlo samples to draw from the population of sizes
alpha: The two-tailed alpha level for confidence
interval calculation. I.e., for the 95% confidence level, specify
TRUE: sample with replacement;
FALSE: sample without replacement.
startSeed: A scalar specifying a random number seed
for the Monte Carlo draws. See
TRUE: no feedback;
feedback if available.
... : Other arguments to be passed along to