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

fix issue when df_pw is a vector #29

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

fix issue when df_pw is a vector #29

wants to merge 6 commits into from

Conversation

guokai8
Copy link
Contributor

@guokai8 guokai8 commented Feb 27, 2019

when df_pw is vector the perform_anova will return error:

Error in names(df_pw) <- c("measure", "from", "to", "y", "p") : 
  'names' attribute [5] must be the same length as the vector [1]

@guokai8
Copy link
Contributor Author

guokai8 commented Feb 27, 2019

Error will return when grouping_column is not a factor:

Error in data.frame(x = c(which(levels(df[, grouping_column]) == as.character(df_pw[i,  : 
  arguments imply differing number of rows: 0, 2

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

Successfully merging this pull request may close these issues.

None yet

1 participant