Create site level properties from soil horizon data
Source:R/site_level_soil_properties.R
site_level_soil_properties.Rd
Calculate properties from soil horizon data that will be appended to the site table of a SoilProfileCollection. The entire soil profile is used. Additionally,the byDepth argument allows for calculations to be made on specified depth ranges.
Arguments
- soil_data
a soilDB SoilProfileCollection (SPC)
- checkHzDepthLogic
evaluate logic of horizon data. A warning or error will be issued depending on the stopOnHzLogicFail argument. aqp::checkHzDepthLogic() should be run on your data is logic errors exist and corrections should be made to data.
- stopOnHzLogicFail
will prevent this function from running if logic errors exist in horizon data.
- byDepth
a list of depth ranges to calculate properties across. Use NULL if depth ranges are not of interest.