Description Usage Arguments Details Value Examples
Scatterplot or histogram faceted by groups.
1 2 |
data |
data.frame in long format. |
x, y |
name of variable in |
by |
name of grouping variable in |
free |
one of |
type |
one of |
qline |
if |
... |
further arguments passed to plotting functions. |
Useful for disaggregating by some grouping variable, either as a
bivariate scatterplot ('type = plot') or univariate
histogram ('type = hist').
Plots to device.
1 2 3 4 5 6 7 8 9 | data(est)
x <- calc_biomass(est)
fg <- summary_fg(x, eachplot=TRUE)
fg$logmass <- log10(fg$mass+1)
plot_facet(fg, 'cover', 'mass', by='fg', type='plot',
xlab='Plot cover (%)',
ylab=bquote('Biomass (kg' ~ha^-1*')'))
plot_facet(fg, 'logmass', by='fg', type='hist', breaks=33,
xlab='Biomass', ylab='Frequency')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.