mpspline_est1 {mpspline2} | R Documentation |
Estimate spline parameters
Description
Estimate key parameters for building a mass-preserving spline across a single soil profile
Usage
mpspline_est1(s = NULL, var_name = NULL, lam = NULL)
Arguments
s |
data.frame containing a single profile's worth of soil info |
var_name |
length-1 character or length-1 integer denoting the column in
|
lam |
number; smoothing parameter for spline. Defaults to 0.1. |
Value
A list of parameters used for spline fitting.
[Package mpspline2 version 0.1.6 Index]