Ponderosa: A simulated forestry survey

Description Usage Format Examples

Description

This data is a simulation of a survey designed to estimate the average age of mature Ponderosa Pine trees. The idea is that 50 randomly selected 0.25 hectare plots are selected and all the mature trees in the plot are sampled for age (via tree cores).

Usage

1

Format

A data frame with 227 rows and 2 variables:

Plot.ID

A variable denoting which Plot the observation came from

Age

Age of the observed tree.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(Ponderosa)
library(ggplot2)

ggplot(Ponderosa, aes(x=Age)) +
  geom_histogram(aes(y=..density..)) +
  geom_density(color='red', size=2)
  
# calculate some summary statistics   
library(dplyr)
Ponderosa %>% group_by(Plot.ID) %>%
  summarize(mean = mean(Age),
             sd   = sd(Age))

dereksonderegger/dsData documentation built on Nov. 22, 2020, 5:15 p.m.