From 323929096d88fff7551671ab1e18663df9ca1a20 Mon Sep 17 00:00:00 2001 From: Edoardo Mancini Date: Thu, 8 Aug 2024 12:03:14 +0000 Subject: [PATCH] #56 fix checks --- data-raw/eg.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-raw/eg.R b/data-raw/eg.R index 90bcc12..6d098c8 100644 --- a/data-raw/eg.R +++ b/data-raw/eg.R @@ -69,7 +69,7 @@ eg <- expand.grid( EGTESTCD == "QT" & EGELTM == "PT3M" ~ floor(rnorm(n(), 457.7265, 60)), EGTESTCD == "QT" & EGELTM == "PT1M" ~ floor(rnorm(n(), 455.3394, 60)) ), - EGSTRESC = ifelse(EGTESTCD == "ECGINT", sample(c( "NORMAL", "ABNORMAL"), 1), as.character(EGSTRESN)), + EGSTRESC = ifelse(EGTESTCD == "ECGINT", sample(c("NORMAL", "ABNORMAL"), 1), as.character(EGSTRESN)), EGORRES = EGSTRESC, EGSTRESU = c("QT" = "msec", "HR" = "BEATS/MIN", "RR" = "msec", "ECGINT" = NA)[EGTESTCD], EGSTAT = "",