Skip to contents

Get group column names of a given forecast data frame

Usage

get_group_cols(df)

Arguments

df

A forecast data frame

Value

A character vector of column names

Examples

casteval:::get_group_cols(data.frame(time=1,val=2,grp_scenario=3,grp_variable=4))
#> [1] "grp_scenario" "grp_variable"