powered by
Formats estimate_name and estimate_value columns by changing the name of the estimate name and/or joining different estimates together in a single row.
formatEstimateName( result, estimateNameFormat = NULL, keepNotFormatted = TRUE, useFormatOrder = TRUE )
A summarised_result object.
A summarised_result.
Named list of estimate name's to join, sorted by computation order. Indicate estimate_name's between <...>.
Whether to keep rows not formatted.
Whether to use the order in which estimate names appear in the estimateNameFormat (TRUE), or use the order in the input dataframe (FALSE).
result <- mockSummarisedResult() result |> formatEstimateName( estimateNameFormat = c( "N (%)" = " (%)", "N" = "" ), keepNotFormatted = FALSE )
Run the code above in your browser using DataLab