Package: burnr 0.6.1.9000

Steven Malevich

burnr: Forest Fire History Analysis

Tools to read, write, parse, and analyze forest fire history data (e.g. FHX). Described in Malevich et al. (2018) <doi:10.1016/j.dendro.2018.02.005>.

Authors:Steven Malevich [aut, cre], Christopher Guiterman [aut, ctb], Ellis Margolis [aut]

burnr_0.6.1.9000.tar.gz
burnr_0.6.1.9000.zip(r-4.5)burnr_0.6.1.9000.zip(r-4.4)burnr_0.6.1.9000.zip(r-4.3)
burnr_0.6.1.9000.tgz(r-4.4-any)burnr_0.6.1.9000.tgz(r-4.3-any)
burnr_0.6.1.9000.tar.gz(r-4.5-noble)burnr_0.6.1.9000.tar.gz(r-4.4-noble)
burnr_0.6.1.9000.tgz(r-4.4-emscripten)burnr_0.6.1.9000.tgz(r-4.3-emscripten)
burnr.pdf |burnr.html
burnr/json (API)
NEWS

# Install 'burnr' in R:
install.packages('burnr', repos = c('https://ltrr-arizona-edu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ltrr-arizona-edu/burnr/issues

Datasets:
  • lgr2 - Los Griegos Peak plot2 fire-history data
  • lgr2_meta - Metadata for the Los Griegos Peak fire-history dataset
  • pgm - Peggy Mesa fire-history data
  • pgm_meta - Metadata for the Peggy Mesa fire-history dataset
  • pgm_pdsi - Reconstructed PDSI time series for the Peggy Mesa fire-history dataset
  • pme - Pajarito Mountain East fire-history data
  • pmr - Pajarito Mountain Ridge fire-history data
  • pmw - Pajarito Mountain West fire-history data

On CRAN:

citationdendrochronologyecologyforestfireplotscientificstatistics

38 exports 15 stars 1.83 score 40 dependencies 59 scripts 482 downloads

Last updated 2 years agofrom:5bfbc2b90d. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 13 2024
R-4.5-winOKSep 13 2024
R-4.5-linuxOKSep 13 2024
R-4.4-winOKSep 13 2024
R-4.4-macOKSep 13 2024
R-4.3-winOKSep 13 2024
R-4.3-macOKSep 13 2024

Exports:as_fhxas.fhxcompositecount_event_positioncount_injurycount_recordingcount_scarcount_year_spandeletefhxfirst_yearget_event_yearsget_seriesget_yearinner_typeintervalsis_fhxis_intervalsis_seais.fhxis.intervalsis.sealast_yearmake_rec_typeouter_typepercent_scarredplot_demographplot_intervals_distplot_sealagsread_fhxsample_depthseaseries_mean_intervalseries_namesseries_statswrite_fhxyear_rangeyearly_recording

Dependencies:clicolorspacecpp11dplyrfansifarverforcatsgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrpurrrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Add composites to facet plots

Rendered fromfacet_comps.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2021-03-09
Started: 2021-01-15

Introduction to burnr

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2021-02-26
Started: 2016-05-27

Readme and manuals

Help Manual

Help pageTopics
Concatenate or combine two fhx objects+.fhx
Cast data frame or list-like to 'fhx' objectas_fhx
Alias to 'as_fhx()'as.fhx
Composite fire events in fhx objectcomposite
Count different events in an 'fhx' objectcount_event_position
Number of injury events in an 'fhx' objectcount_injury
Number of recording years in an 'fhx' objectcount_recording
Number of scar events in an 'fhx' objectcount_scar
Number of years of an 'fhx' objectcount_year_span
Remove series or years from an 'fhx' objectdelete
Constructor for 'fhx' objectsfhx
First (earliest) year of an 'fhx' objectfirst_year
Get years with events for an 'fhx' objectget_event_years
Extract 'fhx' observations for given seriesget_series
Extract 'fhx' observations for given yearsget_year
Type of observation in the first (earliest) year of an 'fhx' objectinner_type
Calculate fire intervals from a 'composite'intervals
Check if object is 'fhx'.is_fhx
Check if object is fire 'intervals'is_intervals
Check if object is 'sea'is_sea
Alias to 'is_fhx()'is.fhx
Alias to 'is_intervals()'is.intervals
Alias to 'is_sea()'is.sea
Last (most recent) year of an 'fhx' objectlast_year
Los Griegos Peak plot2 fire-history datalgr2
Metadata for the Los Griegos Peak fire-history datasetlgr2_meta
Turn character vector into factor with proper 'fhx' levelsmake_rec_type
Maximum interval in fire 'intervals'max.intervals
Fire 'intervals' arithmetic meanmean.intervals
Fire 'intervals' medianmedian.intervals
Minimum interval in fire 'intervals'min.intervals
Type of observation in the last (most recent) year of an 'fhx' objectouter_type
Percent scarred time series for 'fhx' objectpercent_scarred
Peggy Mesa fire-history datapgm
Metadata for the Peggy Mesa fire-history datasetpgm_meta
Reconstructed PDSI time series for the Peggy Mesa fire-history datasetpgm_pdsi
Create an ggplot2 object for plotting fhx demographicsplot_demograph
Basic fire 'intervals' distribution plotplot_intervals_dist
Basic SEA lag plot of 'sea' objectplot_sealags
Plot an 'fhx' objectplot.fhx
Plot a fire 'intervals' objectplot.intervals
Plot a 'sea' objectplot.sea
Pajarito Mountain East fire-history datapme
Pajarito Mountain Ridge fire-history datapmr
Pajarito Mountain West fire-history datapmw
Print a fire 'intervals' objectprint.intervals
Print a 'sea' object.print.sea
Fit distribution quantiles to fire 'intervals'quantile.intervals
Read FHX2 file and return an `fhx`` objectread_fhx
Calculate the sample depth of an 'fhx' objectsample_depth
Perform superposed epoch analysissea
Calculate quick mean fire interval of an 'fhx' object with single seriesseries_mean_interval
Get 'fhx' series namesseries_names
Generate series-level descriptive statistics for 'fhx' objectseries_stats
Sort the series names of 'fhx' object by the earliest or latest yearsort.fhx
Summary of 'fhx' objectsummary.fhx
Write an 'fhx' object to a new FHX2 filewrite_fhx
Range of years in an 'fhx' objectyear_range
Count the number of recording series for each year in an 'fhx' objectyearly_recording