Description Usage Arguments Value
View source: R/st_indicators.R
Embed each time series in a spatio-temporal data set
1  | embed_series(df, var, k, time = "time", station_id = "station")
 | 
df | 
 data frame  | 
var | 
 a character string, the name of the variable to embed  | 
k | 
 a numeric, the embed size  | 
time | 
 a character string, the column name identifying the time of observation  | 
station_id | 
 a character string, the column name identifying the location of observation  | 
A data frame with extra columns var_Tm1, var_Tm2, ..., var_Tm\(k-1\)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.