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, estimateName = NULL, keepNotFormatted = TRUE, useFormatOrder = TRUE )
A <summarised_result> object.
<summarised_result>
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 estimateName (TRUE), or use the order in the input dataframe (FALSE).
result <- mockSummarisedResult() result |> formatEstimateName( estimateName = c( "N (%)" = " (%)", "N" = "" ), keepNotFormatted = FALSE )
Run the code above in your browser using DataLab