From fdea2cd47c639d18a4ebdf1b1ec0cef50718310f Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 19 Sep 2019 12:48:52 +0200 Subject: Revert a change in the original add_err function that I made in the first attempt to work around the issue with the %in% operator in the example code Static documentation rebuilt by pkgdown --- man/synthetic_data_for_UBA_2014.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/synthetic_data_for_UBA_2014.Rd') diff --git a/man/synthetic_data_for_UBA_2014.Rd b/man/synthetic_data_for_UBA_2014.Rd index 2d726d5a..cfab5622 100644 --- a/man/synthetic_data_for_UBA_2014.Rd +++ b/man/synthetic_data_for_UBA_2014.Rd @@ -109,7 +109,7 @@ d_synth_names = paste0("d_synth_", c("SFO_lin", "SFO_par", # d_rep = data.frame(lapply(d_long, rep, each = 2)) # d_rep$value = rnorm(length(d_rep$value), d_rep$value, sdfunc(d_rep$value)) # -# d_rep[d_rep$time == 0 & match(d_rep$name, c("M1", "M2"), "value"] <- 0 +# d_rep[d_rep$time == 0 & d_rep$name %in% c("M1", "M2"), "value"] <- 0 # d_NA <- transform(d_rep, value = ifelse(value < LOD, NA, value)) # d_NA$value <- round(d_NA$value, 1) # return(d_NA) -- cgit v1.2.1