Skip to content

fix issue when df_pw is a vector#29

Open
guokai8 wants to merge 6 commits intoumerijaz:masterfrom
guokai8:master
Open

fix issue when df_pw is a vector#29
guokai8 wants to merge 6 commits intoumerijaz:masterfrom
guokai8:master

Conversation

@guokai8
Copy link
Copy Markdown
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
Copy Markdown
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.

1 participant