add_ratios: Add ratios between spatio-temporal neighborhood indicators

Description Usage Arguments Value See Also

View source: R/st_indicators.R

Description

Add ratios between spatio-temporal neighborhood indicators

Usage

1
add_ratios(df, var, indStat = "mean")

Arguments

df

A data frame of spatio-temporal indicators. Column names should be of type <variable name>_<indStat>_<radius>.

var

A character string with the name of the variable with indicators to add ratios

indStat

The name of the summarizing stat that was used to calculate the indicators

Value

A data frame including the original data of df and additional ratios between the indicators of subsequent radiuses.

See Also

get_st_indicators


mrfoliveira/Evaluation-procedures-for-forecasting-with-spatio-temporal-data documentation built on April 11, 2021, 10:50 a.m.