View source: R/classification_triangle.R
ggplot_classificationtriangle_addcrosshairs_part1 | R Documentation |
Add measured data to part 1 of the soil classification chart
ggplot_classificationtriangle_addcrosshairs_part1( plt, gravel, sand, fines, group = NULL, crosshairs = TRUE, legend_position = "none", legend_title = "", palette = "Set1", label_parse = TRUE )
plt |
a ggplot object with chart |
gravel |
fraction of gravel (array) |
sand |
fraction of sand (array) |
fines |
fraction of fines (array) |
group |
name of group |
crosshairs |
if 'TRUE', crosshairs are plotted |
legend_position |
position of legend. If 'none', no legend is shown |
legend_title |
title of legend |
palette |
RColorBrewer palette used for discrete colors |
label_parse |
if 'TRUE', parse 'group' labels |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.