mirror of
https://github.com/msberends/AMR.git
synced 2025-07-12 01:02:41 +02:00
(v2.1.1.9186) replace antibiotics
with antimicrobials
!
This commit is contained in:
@ -27,25 +27,27 @@
|
||||
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
|
||||
# ==================================================================== #
|
||||
|
||||
expect_equal(kurtosis(example_isolates$age),
|
||||
5.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
test_that("kurtosis works", {
|
||||
expect_equal(kurtosis(example_isolates$age),
|
||||
5.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
|
||||
expect_equal(unname(kurtosis(data.frame(example_isolates$age))),
|
||||
5.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
expect_equal(unname(kurtosis(data.frame(example_isolates$age), excess = TRUE)),
|
||||
2.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
expect_equal(unname(kurtosis(data.frame(example_isolates$age))),
|
||||
5.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
expect_equal(unname(kurtosis(data.frame(example_isolates$age), excess = TRUE)),
|
||||
2.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
|
||||
expect_equal(kurtosis(matrix(example_isolates$age)),
|
||||
5.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
expect_equal(kurtosis(matrix(example_isolates$age), excess = TRUE),
|
||||
2.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
expect_equal(kurtosis(matrix(example_isolates$age)),
|
||||
5.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
expect_equal(kurtosis(matrix(example_isolates$age), excess = TRUE),
|
||||
2.227999,
|
||||
tolerance = 0.00001
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user