Description Usage Arguments Details Functions See Also Examples
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
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)
|
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? |
Available mortality variables: TODO this
PlotOutlierMortBoxplot
: Wrapper for multi-panel mort boxplot
PlotOutlierForestBoxplot
: Wrapper for multi-panel ftype boxplot
PlotDomForBoxplot
: Wrapper for dominant-forest boxplot
Other plot_wrappers: PlotStackedBarChart
,
RSFIA_utils
1 2 | PlotMortBoxplot(plot_type = 'non_fire', by = 'forest_type',
drop_NA = F, zero_as_NA = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.