Installation

Get the stable version from CRAN:

install.packages('aqp', dep=TRUE)

Get the development version from Github, after installing the CRAN version + dependencies:

remotes::install_github("ncss-tech/aqp", dependencies=FALSE, upgrade=FALSE, build=FALSE)

aqp hexsticker (Paxton, Montauk, Woodbridge, Ridgebury, Whitman, Catden soil series dendogram)

Examples

library(aqp)
#> This is aqp 2.0
data(sp4)
depths(sp4) <- id ~ top + bottom

par(mar = c(0, 0, 4, 0))
plot(sp4, color = 'clay')

plot(sp4, color = 'CF')

Install Suggested Packages

p <- c("colorspace", "ape", "soilDB", "latticeExtra", "tactile", "compositions", 
"sharpshootR", "markovchain", "xtable", "testthat", "Gmedian", 
"farver", "Hmisc", "tibble", "RColorBrewer", "scales", "digest", 
"MASS", "mpspline2", "soiltexture", "knitr", "rmarkdown")

install.packages(p)

Citation

citation("aqp")
#> 
#> To cite aqp in publications use:
#> 
#>   Beaudette, D., Roudier, P., Brown, A. (2022). aqp: Algorithms for
#>   Quantitative Pedology. R package version 1.42.
#>   <https://CRAN.R-project.org/package=aqp>
#> 
#>   Beaudette, D.E., Roudier, P., O'Geen, A.T. Algorithms for
#>   quantitative pedology: A toolkit for soil scientists, Computers &
#>   Geosciences, Volume 52, March 2013, Pages 258-268, ISSN 0098-3004,
#>   http://dx.doi.org/10.1016/j.cageo.2012.10.020.
#> 
#> To see these entries in BibTeX format, use 'print(<citation>,
#> bibtex=TRUE)', 'toBibtex(.)', or set
#> 'options(citation.bibtex.max=999)'.

Dependency Graph