Documentation
¶
Overview ¶
Package tablefmt provides functions to create tabular data where
- Each variable is a column; each column is a variable.
- Each observation is a row; each row is an observation.
- Each value is a cell; each cell is a single value.
Its behavior is inspired by the R package tidyr. https://tidyr.tidyverse.org/index.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractGroupedLists ¶
ExtractGroupedLists transforms a map of maps into a map of strings. The keys in the nested map become a list of values.
func SwapColumns ¶
SwapColumns swaps the row values between the first and second column, if the row has a length of two.
func UnnestLongerSorted ¶
UnnestLongerSorted turns each element of a list-group into a row. Each key in the map represents a group and each group is associated with a list of values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.