Description Usage Arguments Value Examples
View source: R/spline_points.R
Identification of bloom descriptors dates based on smoothing splines
1 | spline_points(value, time, s_param = 0.35)
|
value |
a numerical vector of values (abundances...) |
time |
a numerical vector of temporal units (month, week...) |
s_param |
the smoothing parameter corresponding to the spar parameters of the smooth.spline function (default 0.35). |
a dataframe containing the time vector, the value vector and info a character vector with 'Start', 'Max' and 'End' for the seasonal peak and NA for the other date
1 2 3 4 5 6 | ## Not run:
time<-1:12
value<-c(0,0,1,2,5,7,3,0,0,0,0,0)
spline_points(value,time,s_param=0.35)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.