monte {sampSurf} | R Documentation |
monte
"
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 monte-methods
.
monte(object, ...)
object |
Signature argument, which differs for each method. This specifies the population from which samples will be drawn. |
... |
See methods. |
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 "monte
."
Jeffrey H. Gove
The ‘“monte”: When is n Sufficiently Large?’ vignette.
# # 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)