Learn R Programming

sampSurf (version 0.7-6)

monteNTSample: Generate Objects of Class "'>monteNTSample"

Description

This generic will allow the simple creation of objects of class "'>monteNTSample." Method definitions defining all arguments are found in monteNTSample-methods.

Usage

monteNTSample(population, ...)

Arguments

population

Signature argument, currently only objects of class "'>montePop" are supported.

See methods.

Value

A valid object of class "'>monteNTSample."

Details

See the associated methods for this constructor in monteNTSample-methods.

References

The ‘“monte”: When is n Sufficiently Large?’ vignette.

See Also

'>monteSample, '>monteBSSample

Examples

Run this code
# NOT RUN {
mp = montePop(rnorm(100))
mnts = monteNTSample(mp, n=c(10,20,30))
mnts
hist(mnts)
# }

Run the code above in your browser using DataLab