Description Usage Arguments Value Author(s) Examples
Summarizes population-level statistics for simple random sample for attribute 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_simple_random_discrete(data, attribute = "attr", popTot = NA,
desiredConfidence = 0.95)
|
data |
data frame containing observations of variable of interest. Attribute must be coded as either TRUE and FALSE or 1 and 0. |
attribute |
character name of attribute to be summarized. |
popTot |
numeric population size. Equivalent to total number of individuals. |
desiredConfidence |
numeric desired confidence level (e.g. 0.9). |
data frame of stand-level statistics. Includes standard error and 95
Karin Wolken
1 2 3 4 5 6 7 | ## Not run:
data <- data.frame(alive = c(T, T, F, T, F, F),
tree = c(1, 2, 3, 4, 5, 6))
attribute = 'alive'
popTot = 50
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.