Skip to content

Plot REimpact plots on the same chart #84

@jknowles

Description

@jknowles

This will allow more direct comparison of random effects for users:

d_eff$Grouping_Factor <- "d"
s_eff$Grouping_Factor <- "s"
 
library(tidyverse)
 
rbind(d_eff, s_eff) %>%
  ggplot(aes(x=Grouping_Factor, y = AvgFit, color = Grouping_Factor)) +
    geom_point() +
    theme_minimal() +
    facet_grid(.~case) +
    scale_y_continuous(breaks = 0:5, limits = c(0, 5)) +
    labs(title = "Impact of grouping terms (s and d)")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions