mpspline_fit1 | R Documentation |
Fit spline parameters to data for a single site.
mpspline_fit1( s = NULL, p = NULL, var_name = NULL, d = NULL, vhigh = NULL, vlow = NULL )
s |
data.frame; data for one site |
p |
list; estimated spline parameters for one site from
|
var_name |
length-1 character or length-1 integer denoting the column in
|
d |
sequential integer vector; denotes the output depth ranges in cm.
Defaults to |
vhigh |
numeric; constrains the maximum predicted value to a realistic number. Defaults to 1000. |
vlow |
numeric; constrains the minimum predicted value to a realistic number. Defaults to 0. |
list of two vectors: fitted values at 1cm intervals and the average of same over the requested depth ranges.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.