list_indices | R Documentation |
Return a table with attributes of the spectral indices computable with the package.
list_indices(values, pattern = "", all = FALSE)
values |
A vector of attributes which will be returned, being one or more within the followings:
|
pattern |
A regular expression on index names. |
all |
Logical: if TRUE, all the indices retrieved from IDB are returned; if FALSE (default), only indices checked by the authors are returned. |
A data.frame with the required information. The table contains also the following attributes:
creation_date
: timestamp of the creation date of the indices archive;
pkg_version
: version of the sen2r
package used to
create the indices archive.
License: GPL 3.0
Luigi Ranghetti, phD (2019)
L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473")}, URL: https://sen2r.ranghetti.info/.
# Show index names
list_indices(c("name","longname"))
# Return the MSAVI2 formula
list_indices("s2_formula", "^MSAVI2$")
# Return all index names (including unchecked)
list_indices("name", all = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.