reshape_statistics: Reshape a list of dataframes from wide to long

Description Usage Arguments

View source: R/statistics-calculation-functions.R

Description

Given a list of variables and a dataframe, make a reshaped (from wide to long) dataframe for each variable and output a list of dataframes

Usage

1
2
reshape_statistics(data, id = "id_pixel", key = "id_date",
  other_id = list("lon", "lat"))

Arguments

data

dplyr dataframe to be reshaped containing the variables to be used in the reshaping process

id

unique identifier for each pixel

key

key argument in tidyr::spread

other_id

other unique identifiers (for instance: longitude and latitude)


pegoraro/qchlorophyll documentation built on May 24, 2019, 11:46 p.m.