tidy.summarised_result: Turn a <summarised_result> object into a tidy tibble

View source: R/tidy.R

tidy.summarised_resultR Documentation

Turn a ⁠<summarised_result>⁠ object into a tidy tibble

Description

[Experimental] Provides tools for obtaining a tidy version of a ⁠<summarised_result>⁠ object. This tidy version will include the settings as columns, estimate_value will be pivotted into columns using estimate_name as names, and group, strata, and additional will be splitted. If you want to customise these tidy operations, please use tidySummarisedResult().

Usage

## S3 method for class 'summarised_result'
tidy(x, ...)

Arguments

x

A ⁠<summarised_result>⁠.

...

For compatibility (not used).

Value

A tibble.

Examples

result <- mockSummarisedResult()
result |> tidy()

visOmopResults documentation built on Sept. 24, 2024, 1:08 a.m.