Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_means() is not recognized #102

Open
raheems opened this issue Jan 22, 2019 · 3 comments
Open

get_means() is not recognized #102

raheems opened this issue Jan 22, 2019 · 3 comments

Comments

@raheems
Copy link

raheems commented Jan 22, 2019

The get_means() function is not found. It's throwing error. I am using the currently available version of psycho installed via install.package. I am using Microsoft R Open 3.5.1

library(psycho)
require(lmerTest)

fit <- lmer(Subjective_Valence ~ Emotion_Condition * Participant_Sex + (1|Participant_ID), data=emotion)
anova(fit)
get_means(fit)

Error in get_means(fit) : could not find function "get_means"

@DominiqueMakowski
Copy link
Member

@raheems That is very weird. Could you test your psycho version (packageVersion("psycho"))? Also, could you try to install the github version (although the github version should be fairly similar to the CRAN version)?

install.packages("devtools")
devtools::install_github("neuropsychology/psycho.R")
library("psycho")

@erikgarcia22
Copy link

Did this get resolved? I am having the same issue with 'psycho' version 0.5.0. I am getting the same error that the get_means() function is not found.

@DominiqueMakowski
Copy link
Member

@erikgarcia22 While I am not sure about the cause of the original issue, yours is related to the recent update of psycho and the moving of some of its functions to other packages. In particular, get_means() and get_contrasts have been moved to modelbased (renamed as estimate_means).

See this reply for some more context. Let me know how that went

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants