Description Usage Arguments Details
View source: R/statistics-calculation-functions.R
This function reshapes a dataframe from the following format: lat lon id_pixel id_date avg
1 2 | reshape_stats_df(value, data, id = "id_pixel", key = "id_date",
other_id = list("lon", "lat"))
|
value |
value argument in tidyr::spread |
data |
dplyr dataframe to be reshaped |
id |
unique identifier for each pixel. Must be a character. If more than one unique identifier is available, then place the other unique identifiers in the other_id list. |
key |
key argument in tidyr::spread |
other_id |
other unique identifiers (for instance: longitude and latitude) |
to the following format lat lon id_pixel id_date_1 id_date_2 ... avg_11 avg_12 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.