Learn R Programming

burnr (version 0.4.0)

percent_scarred: Percent scarred time series

Description

Percent scarred time series

Usage

percent_scarred(x, injury_event = FALSE)

Arguments

x

An fhx object.

injury_event

Boolean indicating whether years with injury events should be considered as scars. Defaults to FALSE.

Value

A data.frame with four columns: Year, NumRec with the number of recording trees, NumScars with the number of fire scars and/or events, and PercScarred with the proportion of scars/events.

Examples

Run this code
# NOT RUN {
data("pgm")
percent_scarred(pgm)

# }

Run the code above in your browser using DataLab