Description Usage Arguments Value Author(s) Examples
Summarizes population-level statistics for cluster sample data. The calculations are derived from Chapter 3 in Avery and Burkhart's (1967) Forest Measurements, Fifth Edition. The variance terms refer to the variance of the mean.
1 2 | summarize_cluster(data, element = TRUE, attribute = NA,
desiredConfidence = 0.95)
|
data |
data frame containing observations of variable of interest for either cluster-level or element-level data. |
element |
logical true if parameter data is element-level (plot-level), false if parameter data is cluster-level. Default is True. |
attribute |
character name of attribute to be summarized. |
desiredConfidence |
numeric desired confidence level (e.g. 0.9). |
data frame of stand-level statistics including standard error and confidence interval limits.
Karin Wolken
1 2 3 4 5 6 7 8 9 | ## Not run:
dataPlot <- data.frame(clusterID = c(1, 1, 1, 1, 1, 2, 2, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5),
attr = c(1000, 1250, 950, 900, 1005, 1000, 1250, 950, 900, 1005, 1000,
1250, 950, 900, 1005, 1000, 1250, 950, 900),
isUsed = c(T, T, T, T, T, T, T, T, T, T, T, T, T, T, F, F, F, F, F))
element = TRUE
attribute = 'attr'
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.