Learn R Programming

dplRCon (version 1.0)

series.bootstrap: Series bootstrap

Description

This function calculate the bootstrapped replicated series for calculating concordance

Usage

series.bootstrap(data.boot, stat, R, names.stat, aver.by.tree.input)

Arguments

data.boot
Data matrix containing standardized ring width indices from which the bootstrapped replicates are calculated.
stat
A function giving the statistics that are to be calculated
R
The number of bootstrapped replicates
names.stat
the names of the statistics contained in function "stat"
aver.by.tree.input
This is a True/False. If True then averages tree series, then average tree means. If False then average all series

Value

org.stat
The original input statistics
boot.stat
The statistics of the bootstrapped replicates, c('mean','median')
bias
The bias of the boot.stat
std.error
The standard error of boot.stat
boot.series.mean
The bootstrapped replicates mean series
boot.series.std
The bootstrapped replicates standard deviation series

Examples

Run this code
## Not run: #Subset "near-pith" is the material within 0 -20cm from the estimated pith
# spline200.sub0.20.n   <- TruncSeriesPithoffset( ring.raw, ring.stand, dbh.po.nc, c(1,200))
# boot.0.20   <-  series.bootstrap( spline200.sub0.20.n$sub.series.stand, stat, 999,
#    names.stat, aver.by.tree = FALSE)## End(Not run)

Run the code above in your browser using DataLab