View source: R/gather_members.R
gather_members | R Documentation |
Convert EPS forecast data from wide format data frame to long format data frame.
gather_members( .fcst, member_regex = "_mbr[[:digit:]]+$|_mbr[[:digit:]]+_lag[[:graph:]]*$" )
.fcst |
An EPS forecast data frame in wide format. |
member_prefix |
Prefix for column names that contain forcasts for a
single member. The default is "mbr". Note that the column name only has to
contain |
An EPS data frame in long format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.