Skip to content

Commit

Permalink
fixed duplicate covariate plot in Anovas
Browse files Browse the repository at this point in the history
  • Loading branch information
RDastgh1 committed Oct 11, 2024
1 parent af07f54 commit 878b796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/PlotAnovaRelationshipsMatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ PlotAnovaRelationshipsMatrix <- function(Data, CatVars, ContVars, Covariates = N
library(ggplot2)
library(paletteer)

stat.test <- stat.test %>% filter(Effect == "CategoricalValue")
# Modify your plot with additional adjustments for better color distinction
p <- ggplot(stat.test, aes(y = YLabel, x = XLabel, shape = `p<.05`, text = PlotText)) +
geom_point(aes(size = `p<.05`, colour = ges)) +
Expand Down

0 comments on commit 878b796

Please sign in to comment.