unpack_hilo {fabletools} | R Documentation |
This function is superceded. It is recommended that you use the functionality
from the distributional
package to extract elements from a <hilo>
object. For example, you can access
the lower bound with <hilo>$lower
.
Allows a hilo column to be unpacked into its component columns: "lower", "upper", and "level".
unpack_hilo(data, cols, names_sep = "_", names_repair = "check_unique")
data |
A data frame. |
cols |
Name of hilo columns to unpack. |
names_sep |
If If a string, the inner and outer names will be used together. In
|
names_repair |
Used to check that output data frame has valid names. Must be one of the following options:
See |