Makes ggplot aesthetics aware of SoilProfileCollection metadata.

# S3 method for class 'SoilProfileCollection'
ggplot(data, mapping = ggplot2::aes(), ..., environment = parent.frame())

Arguments

data

A SoilProfileCollection

mapping

Default ggplot2::aes()

...

Additional arguments passed to ggplot.default() (not used)

environment

Default: parent.frame()

Value

gg object from ggplot2 package