powered by
Pivots the input dataframe so the values of the name columns are transformed into columns, which values come from the specified level column.
splitNameLevel( result, name = "group_name", level = "group_level", keep = FALSE, fill = "overall", overall = lifecycle::deprecated() )
A dataframe with the specified name column values as columns.
A summarised_result object.
Column with the names.
Column with the levels.
Whether to keep the original group_name and group_level columns.
Optionally, a character that specifies what value should be filled in with when missing.
deprecated.
mockSummarisedResult() |> splitNameLevel(name = "group_name", level = "group_level", keep = FALSE)
Run the code above in your browser using DataLab