bootstrap.wa {analogue} | R Documentation |
Function to calculate bootstrap statistics for transfer function models such as bootstrap estimates, model RMSEP, sample specific errors for predictions and summary statistics such as bias and R^2 between oberved and estimated environment.
## S3 method for class 'wa': bootstrap(object, n.boot = 1000, verbose = TRUE, ...)
object |
an R object of class "wa" for which bootstrap
statistics are to be generated. |
n.boot |
numeric; the number of bootstrap samples to draw. |
verbose |
logical; should bootstrap progress be printed to the console? |
... |
arguments passed to other methods. |
See bootstrap.mat
for further details. This method is
not as feature packed as bootstrap.mat
but can be used
to evaluate the model performance of WA transfer function models.
An object with the same components as predict.wa
.
Gavin L. Simpson
Birks, H.J.B., Line, J.M., Juggins, S., Stevenson, A.C. and ter Braak, C.J.F. (1990). Diatoms and pH reconstruction. Philosophical Transactions of the Royal Society of London; Series B, 327; 263–278.
wa
, plot.wa
.
## continue the RLGH and SWAP example from ?wa example(wa) ## bootstrap the WA model boot.mod <- bootstrap(mod, n.boot = 100) ## performance statistics performance(boot.mod)