Description Usage Arguments Details Author(s)
View source: R/extractParameters.R
This function allows to extract fitting parameters from pixel-based analysis of a seasonal ensemble of images in one or multiple rois.
1 |
list |
A list as in output from |
update |
One between 'trs', 'derivatives', 'klosterman', 'gu' or NULL (the default).
See |
... |
Further arguments to the update function. Currently, you can specify a |
This function allows to extract curve parameters and thresholds from pixel based analyisis. Depending on how you have
run spatialGreen
function, extractParameters
behaves differently (but returns the same results!). In case you haven't
saved each pixel's fit with spatialGreen
(i.e., with save
== FALSE and assign
== TRUE), this function will
extract parameters from a list as in output from spatialGreen
. IN case you HAVE saved each pixel's fit (i.e. save
== TRUE in function spatialGreen
) extractParameters
loads recursively in a folder (path
) and builds a data.frame
with extracted curve parameters and thresholds.
In both cases a data.frame
is returned, with all curve parameters and thresholds for each pixel (one row for each pixel). Additionally, RMSE (root mean square error) for each fitting is computed and returned as well. The dataframe in output is suitable
to be passed to the function plotSpatial
.
Gianluca Filippa <gian.filippa@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.