Description Usage Value Examples
This function customizes a theme for plotting MIDN forest data, including removing the default panel grids from ggplot2 figures.
1 |
This function must be used in conjunction with a ggplot object
1 2 3 4 5 6 7 8 9 | importData()
size_dist <- ggplot(mean_dens, aes(x = size_class, y = stems_ha_mean))+
geom_bar(stat = 'identity', fill = 'CadetBlue', position = position_dodge())+
geom_errorbar(aes(ymin=stems_ha_mean-stems_ha_se, ymax=stems_ha_mean+stems_ha_se, x=size_class),
color='DimGrey', width=0.2,position=position_dodge(0.9))+
facet_wrap(vars(cycle_fac), ncol=3, labeller=as_labeller(cycle_names))+
labs(x='Regeneration Size Distribution', y='stems/ha')+
scale_x_discrete(labels=c('15-30cm', '30-100cm', '100-150cm', '>150cm','1-10cm DBH'))+
theme_FVM()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.