View source: R/add_times_colnames_tseries.R
add_colnames_times_tseries | R Documentation |
Very short function for convenience in converting matrices from t(extract(brick, SpatialPoints))
into a dataframe with a column of time stamps, and column names given by site.
add_colnames_times_tseries(tseries, newcolnames, format = "X%Y.%m.%d")
tseries |
A matrix or data frame with rownames giving time stamps. |
newcolnames |
Column names to assign to tseries (not including the new time column) |
format |
The format to supply to lubridate's as_date function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.