This is the generic definition for generating objects of
class "monte." There are currently several methods corresponding to this
generic whose documentation may be found in
Signature argument, which differs for each method. This specifies the population from which samples will be drawn.
The methods associated with this generic should be used to
construct objects of class "
monte." These objects
are specifically designed to hold information about Monte Carlo
experiments where one resamples from a known population to infer
efficiency and perhaps locate any bias in different sampling
estimators. The constructor methods can be used to look at traditional
normal theory and bootstrap confidence intervals in terms of nominal
catch rates for the population mean.
A valid object of class "
Jeffrey H. Gove
The ‘“monte”: When is n Sufficiently Large?’ vignette.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# # these examples are commented-out because they consume # cpu time when checking the package--just copy and paste # them if you want to try them out... # # from a sampSurf object... # ## Not run: smTract = Tract(c(x=30,y=30), cellSize=0.5) smbuffTr = bufferedTract(8,smTract) ss.sa = sampSurf(10, smbuffTr, 'sausageIZ', plotRadius=3, estimate='Length') m.sa = monte(ss.sa, n=c(10,20)) hist(m.sa) ## End(Not run) # # simple population... # ## Not run: mp = montePop(rnorm(100), n=c(10,30)) mt = monte(mp, mcSamples=250, R=150) #takes n from mp object mt ## End(Not run)