
Complete UNE-EN 689 preliminary assessment (high-level wrapper)
Source:R/une689_preliminar.R
une689_evaluate_preliminary.RdCalculates the ED and IE for each day and classifies the overall conformity, from a set of samples organised by measurement day. Designed to be used directly from code, without going through the Shiny application.
Value
A list with two elements:
days_tableA
data.framewith columnsday,EDandIE, one row per day.resultCharacter scalar with the overall classification, see
une689_classify_conformity().
Examples
data <- data.frame(
day = c(1, 1, 2, 3, 3),
concentration = c(12, 8, 9, 5, 6),
time = c(4, 4, 8, 3, 5)
)
une689_evaluate_preliminary(data, vla = 10)
#> $days_table
#> day ED IE
#> 1 1 10.000 1.0000
#> 2 2 9.000 0.9000
#> 3 3 5.625 0.5625
#>
#> $result
#> [1] "NO DECISION"
#>