summarize_poisson: Summarize Poisson sample

Description Usage Arguments Value Author(s) Examples

View source: R/poisson.R

Description

Summarizes population-level statistics for Poisson-distributed sample data. The calculations are derived from open resources provided by Penn State Eberly College.

Usage

1
summarize_poisson(data, desiredConfidence = 0.95)

Arguments

data

vector containing number of instances per desired unit (e.g. 6 trees were alive at plot 10 -> c(6)).

desiredConfidence

numeric desired confidence level (e.g. 0.9).

Value

data frame of statistics including standard error and confidence interval limits.

Author(s)

Karin Wolken

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# See Forest Sampling vignette for more details

# Data can be expressed as:

data <- c(2, 3, 4, 3, 4, 5, 2, 7)


## End(Not run)

SilviaTerra/forestsamplr documentation built on Jan. 3, 2020, 2:33 p.m.