AQP Demo: Applying a Function to Each Soil Profile in a Collection with profileApply()
[This article was first published on RSS Feed, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Here is a quick demonstration of how functionality from the AQP package can be used to answer complex soils-related questions. In these examples the profileApply() function is used to iterate over a collection of soil profiles, and compute several metrics of soil development:
- depth of maximum clay content
- clay/RF content within the PCS
- clay content within the argillic horizon
- thickness of argillic horizon
- depth to argillic horizon
To leave a comment for the author, please follow the link and comment on their blog: RSS Feed.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.