PlotMortBoxplot: Plots mortality data as a boxplot of various types

Description Usage Arguments Details Functions See Also Examples

Description

Can be used to plot multiple mortality types by section / province / forest type, can drop IQR outliers, etc

This is a plotting 'workhorse' wrapped by other functions in to make final figures

Usage

1
2
3
4
5
6
7
8
9
PlotMortBoxplot(mort_df = NULL, plot_type = "all", by = "section",
  zero_as_NA = F, drop_NA = F, IQR_outliers = F, IQR_type = "high",
  ftype = NULL, clear_plots = T, prnt = F, flipped = F)

PlotOutlierMortBoxplot(lab_pos = -0.5)

PlotOutlierForestBoxplot(lab_pos = -0.5)

PlotDomForBoxplot(lab_pos = -0.5)

Arguments

plot_type

one of the mortality variables

by

one of 'section', 'province', or 'forest type'

zero_as_NA

logical flag, convert zeroes in mort data to NAs?

drop_NA

logical flag, drop by groups that are all NA?

IQR_outliers

logical flag, drop outliers as detected by IQR?

ftype

Forest type to subset by

clear_plots

logical to pass to PrepPlorEnvir

prnt

Print summary statistics

flipped

Flip the ggplot axis?

IQR_outliers

which IQR group to plot? can be background or high

add_sample_size

logical tag, add sample size to x-axis labels?

Details

Available mortality variables: TODO this

Functions

See Also

Other plot_wrappers: PlotStackedBarChart, RSFIA_utils

Examples

1
2
PlotMortBoxplot(plot_type = 'non_fire', by = 'forest_type',
drop_NA = F, zero_as_NA = F)

bmcnellis/RSFIA documentation built on June 1, 2019, 7:40 a.m.