From 12dc2f7126a8e3c0a72ace0741f5ac339fba1933 Mon Sep 17 00:00:00 2001 From: Stefan Schreiber <119396863+mcsnowface@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:14:59 -0700 Subject: [PATCH] Update index.Rmd The code referenced the $statisitc and $p.value from the correlation example further up. Now it should be correct. Great post! --- index.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.Rmd b/index.Rmd index 9142b05..8dd4caf 100644 --- a/index.Rmd +++ b/index.Rmd @@ -814,8 +814,8 @@ df = data.frame( model = c('Anova', 'lm'), df = c(a$Df[1], glance(b)$df - 1), # -1? https://github.com/tidymodels/broom/issues/273 df.residual = c(a$Df[2], b$df.residual), - F = c(a$`F value`[1], bt$statistic), - p.value = c(a$`Pr(>F)`[1], bt$p.value) + F = c(a$`F value`[1], b$statistic), + p.value = c(a$`Pr(>F)`[1], b$p.value) ) print_df(df, 5) ```