I want to perform anova between one col and other col, and my script is like this
summarise(
across(.col = where(is.numeric),
.fn = aov(. ~ Species, data = iris
))
And then I tried
list(
across(.col = where(is.numeric),
.fn = aov(. ~ Species, data = iris
))
But still does not work.... Would someone kindly offer advice? Thanks.