From 5ab9cedf8afc4fe99cee4962a534863f22b18ef6 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Thu, 23 Nov 2023 18:03:03 +0100 Subject: [PATCH] trigger CI --- R/check_heteroscedasticity.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/check_heteroscedasticity.R b/R/check_heteroscedasticity.R index c3fb8a19b..cf8e4cb09 100644 --- a/R/check_heteroscedasticity.R +++ b/R/check_heteroscedasticity.R @@ -66,7 +66,7 @@ check_heteroscedasticity.default <- function(x, ...) { .U <- (r^2) / S.sq mod <- stats::lm(.U ~ stats::fitted(x)) - SS <- stats::anova(mod)$"Sum Sq" + SS <- stats::anova(mod)$`Sum Sq` RegSS <- sum(SS) - SS[length(SS)] Chisq <- RegSS / 2