Learn R Programming

sampSurf (version 0.7-6)

monteBSSample: Generate Objects of Class "'>monteBSSample"

Description

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

Usage

monteBSSample(population, ...)

Arguments

population

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

See methods.

Value

A valid object of class "'>monteBSSample."

Details

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

References

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

See Also

'>monteSample, '>monteBSSample

Examples

Run this code
# NOT RUN {
#
# can take a little time, cut and paste
# to try it...
#
# }
# NOT RUN {
mp = montePop(rnorm(100))
mbss = monteBSSample(mp, n=c(10,20), R=100)
mbss
hist(mbss)
# }

Run the code above in your browser using DataLab