Plot length distribution data for a gadget3 model
dplot_ldist.Rd
The dplot functions plot data passed to a gadget3 model instead of data from the model or fit objects.
Arguments
- x
A gadget3 ready data frame created using mfdb, g3_data or add_g3_attributes.
- type
Character specifying the plot type: "bar", "ggridges" or "line"
- scales
Character defining the
facet_wrap
scales
argument to use.- base_size
Base size parameter for ggplot. See ggtheme.
Value
A ggplot object.
Examples
data(ldist_example)
dplot_ldist(ldist_example)
dplot_ldist(ldist_example, type = "ggridges")
dplot_ldist(ldist_example, type = "line")