powered by
Pivot table result of transforming a data frame in compact table format: with a column with data from two label fields.
pf_ex_compact
Apivot_table object.
pivot_table
df_ex_compact
Other pivot table: pt_ex
pt_ex
# Defined by: pf_ex_compact <- pivot_table(df_ex_compact) |> extract_labels(col = 1, labels = c("b1", "b2", "b3", "b4", "Total general"))
Run the code above in your browser using DataLab