Extracts key parameters and statistics from all validation sections into a tidy tibble format suitable for further analysis or reporting.
Usage
# S3 method for class 'measure_validation_report'
tidy(x, ...)Value
A tibble with columns:
section: Section nameparameter: Parameter namevalue: Parameter valueunit: Unit of measurement (if available)status: Pass/fail status (if available)
Returns an empty tibble if no sections contain tidy-able data.
Examples
# Create sample data
blank_data <- data.frame(
response = rnorm(10, mean = 50, sd = 15),
sample_type = "blank"
)
lod_result <- measure_lod(blank_data, response_col = "response")
report <- measure_validation_report(
title = "Test Report",
lod_loq = lod_result
)
tidy(report)
#> # A tibble: 1 × 6
#> section limit_type value method k uncertainty
#> <chr> <chr> <dbl> <chr> <dbl> <dbl>
#> 1 LOD/LOQ LOD 81.3 blank_sd 3 10.2