Skip to contents

[Deprecated]

pivot_members is now the preferred method for transforming between long and wide data frames since it supports classes that were introduced in version 0.1.0.

Usage

gather_members(
  .fcst,
  member_regex = "_mbr[[:digit:]]+$|_mbr[[:digit:]]+_lag[[:graph:]]*$"
)

Arguments

.fcst

An EPS forecast data frame in wide format.

member_regex

Regular expression for column names that contain forecasts for a single member.

Value

An EPS data frame in long format.