Description Usage Arguments Details Value See Also Examples
View source: R/phenoCropClass.R
Spatially explicit and phenology driven classification scheme for cropland mapping.
1 | phenoCropClass(x, y, z, match = FALSE)
|
x |
A matrix or data.frame. |
y |
A character vector. |
z |
A numeric element. Default is 1. |
match |
logical argument. |
Correlates x with each row in y. The row in y with the highest correlation is reported as the selected class. If match is set to TRUE the function will use Dynamic Time Wrapping (DTW) x and y at each iteration. z sets the temporal buffer used to search to matching data points. The final output is a data.frame containing:
r2 - R^{2} between x and each row y.
count - Number of records used to estimate the R^{2}.
max.interval - Maximum gap between data points when NA values exist.
A list containing a set of reference profiles for each unique class in y.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.