From 2c0953fcc872e5106605711cc20a7e1ca9f69101 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 13 Jul 2024 22:27:28 +0200 Subject: [PATCH] lintr --- R/icc.R | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/R/icc.R b/R/icc.R index 38347e563..420893f1e 100644 --- a/R/icc.R +++ b/R/icc.R @@ -249,7 +249,12 @@ icc <- function(model, # iccs between groups # n_grps <- length(vars$var.intercept) # level_combinations <- utils::combn(1:n_grps, m = n_grps - 1, simplify = FALSE) - # icc_grp <- sapply(level_combinations, function(v) vars$var.intercept[v[1]] / (vars$var.intercept[v[1]] + vars$var.intercept[v[2]])) + # icc_grp <- sapply( + # level_combinations, + # function(v) { + # vars$var.intercept[v[1]] / (vars$var.intercept[v[1]] + vars$var.intercept[v[2]]) + # } + # ) # # out2 <- data.frame( # Group1 = group_names[sapply(level_combinations, function(i) i[1])],