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