mpspline_datchk {mpspline2} | R Documentation |
Runs a few data quality checks and makes some repairs where possible.
mpspline_datchk(s = NULL, var_name = NULL)
s |
data frame, input data for a single soil profile. |
var_name |
length-1 character or length-1 integer denoting the column in
|
If data passes checks it is returned unchanged. Sites with no data to spline and sites with overlapping input depth ranges return NA.