Thanks for taking the time to help!
the code I am using is: dat <- read.csv("PSY.308b.DA2.csv") the issue is the same for all files i have tried
I am on a 2017 macbook pro, running macOS Sierra, version10.12.6.
For R studio I am using version Version 1.1.383
Thanks again,
Brad
[SOLVED] one-way ANOVA error
Re: one-way ANOVA error
could you attach the data file, and provide the anova command you are using too?
with thanks
with thanks
Re: one-way ANOVA error
Sure,
jmv::anova(data = dat, dep = 'HELPING', factors = c('HASTE'), effectSize = 'partEta', postHoc = c('HASTE'), postHocCorr = 'tukey', homo = TRUE)
jmv::anova(data = dat, dep = 'HELPING', factors = c('HASTE'), effectSize = 'partEta', postHoc = c('HASTE'), postHocCorr = 'tukey', homo = TRUE)
- Attachments
-
- PSY.308b.DA2.csv
- (415 Bytes) Downloaded 567 times
Re: one-way ANOVA error
hmm, what does excuting in R:
R.version
output?
with thanks
R.version
output?
with thanks
Re: one-way ANOVA error
platform x86_64-apple-darwin15.6.0
arch x86_64
os darwin15.6.0
system x86_64, darwin15.6.0
status
major 3
minor 4.2
year 2017
month 09
day 28
svn rev 73368
language R
version.string R version 3.4.2 (2017-09-28)
nickname Short Summer
arch x86_64
os darwin15.6.0
system x86_64, darwin15.6.0
status
major 3
minor 4.2
year 2017
month 09
day 28
svn rev 73368
language R
version.string R version 3.4.2 (2017-09-28)
nickname Short Summer
Re: one-way ANOVA error
Jonathan,
My professor was able to finally find a solution.
as.factor(dat$HASTE)
was used although, class(dat$HASTE) gave us the output
[1] "integer"
We then used dat$HASTE<-as.factor(dat$HASTE), which successfully defined HASTE as a factor
Running the ANOVA then gave us the error
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘quantreg’
Instaling "Quantreg" fixed my issue with ANOVA's and Levene's test, although we have no idea why this package was not installed already.
Thanks for all your help!
My professor was able to finally find a solution.
as.factor(dat$HASTE)
was used although, class(dat$HASTE) gave us the output
[1] "integer"
We then used dat$HASTE<-as.factor(dat$HASTE), which successfully defined HASTE as a factor
Running the ANOVA then gave us the error
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘quantreg’
Instaling "Quantreg" fixed my issue with ANOVA's and Levene's test, although we have no idea why this package was not installed already.
Thanks for all your help!
Re: one-way ANOVA error
awesome brad!
i'll keep working on this, and try to get to the bottom of it, but i'm glad you've got something working.
with thanks
i'll keep working on this, and try to get to the bottom of it, but i'm glad you've got something working.
with thanks
-
- Posts: 3
- Joined: Tue Nov 10, 2020 6:26 pm
Re: [SOLVED] one-way ANOVA error
Hello, I am a teaching assistant in this same class 3 years later (but during the coronavirus lockdowns, so not as easily able to get help from people around me) and I'm having this same problem even after trying what was listed in this thread. I hope to be able to troubleshoot with someone on here!
Re: [SOLVED] one-way ANOVA error
hi, could you start a new thread?
with thanks
with thanks