## S3 method for class 'SoilProfileList':
profile_plot(d, color = "soil_color", width = 0.2,
cex.names = 0.5, plot.order = 1:d$num_profiles, add = FALSE,
scaling.factor = 1, y.offset = 0, max.depth = d$max_depth, \dots)
par(mar=...)
will be overridden.initProfileList
library(aqp)
data(sp1)
# add color vector
sp1$soil_color <- with(sp1, munsell2rgb(hue, value, chroma))
# convert to SoilPofileList class object
sp1.list <- initProfileList(sp1)
# plot profiles
profile_plot(sp1.list)
Run the code above in your browser using DataLab