mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 08:30:49 +01:00
update to septic_patients, speed improvements
This commit is contained in:
1 parent
03a3cb397b
commit
d9e204031d
26 files changed
+273
-233
No files matched your search
@@ -2,12 +2,12 @@ context("skewness.R")
|
||||
|
||||
test_that("skewness works", {
|
||||
expect_equal(skewness(septic_patients$age),
|
||||
-1.637164,
|
||||
-0.90624,
|
||||
tolerance = 0.00001)
|
||||
expect_equal(unname(skewness(data.frame(septic_patients$age))),
|
||||
-1.637164,
|
||||
-0.90624,
|
||||
tolerance = 0.00001)
|
||||
expect_equal(skewness(matrix(septic_patients$age)),
|
||||
-1.637164,
|
||||
-0.90624,
|
||||
tolerance = 0.00001)
|
||||
})
|
||||
Reference in new issue
Block a user