powered by
Pivots the input dataframe so the values of the column strata_name are transformed into columns that contain values from the strata_level column.
splitStrata(result, keep = FALSE, fill = "overall")
A dataframe.
A dataframe with at least the columns strata_name and strata_level.
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.
mockSummarisedResult() |> splitStrata()
Run the code above in your browser using DataLab