Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 18, 2019
1 parent 29114ca commit a275ca9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/plot.p_direction.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ data_plot.p_direction <- function(x, data = NULL, ...){
stop("Package 'emmeans' required for this function to work. Please install it.", call. = FALSE)
}
data <- as.data.frame(as.matrix(emmeans::as.mcmc.emmGrid(data, names = FALSE)))
} else {
data <- as.data.frame(data)
}

if (ncol(data) > 1) {
Expand Down

0 comments on commit a275ca9

Please sign in to comment.