Learn R Programming

primer (version 1.1.1)

DemoBoot: Demographic Resampling Function

Description

This resamples three specific data sets and calculates demographic statistics and bootstrapped confidence intervals.

Usage

DemoBoot(stagedat = NULL, fruitdat = NULL, seeddat = NULL, n = 1)

Arguments

stagedat

A data frame identical in form to the data frame of the same name.

fruitdat

A data frame identical in form to the data frame of the same name.

seeddat

A data frame identical in form to the data frame of the same name.

n

Number of bootstrap replicates.

Value

Returns a list of length n, where each element is the output of a demographic analysis (see DemoInfo).

Details

This somewhat idiosyncratic function requires that the data frames have particular structures matching the data sets included in this package.

References

Caswell, H. (2001) Matrix Population Models: Construction, Analysis, and Interpretation. Sinauer Associates, Inc., Sunderland, MA, USA, 2nd ed. edition.

Ellner, S.P. and Guckenheimer, J. (2006) Dynamic Models in Biology, Princeton University Press.

Stevens, M.H.H. (2009) A Primer of Ecology with R. Use R! Series. Springer.

Berry, E.J., Gorchov, D.L., Endress, B.A. and Stevens, M.H.H. (2008) Source-sink dynamics within a plant population: the impact of substrate and herbivory on palm demography. Population Ecology, 50, 63--77.

See Also

DemoInfo, ProjMat, stagedat, fruitdat, seeddat

Examples

Run this code
# NOT RUN {
data(stagedat); data(fruitdat); data(seeddat)
DemoBoot(stagedat = stagedat, fruitdat = fruitdat, seeddat = seeddat)
# }

Run the code above in your browser using DataLab