Skip to content
Course Notes: Hierarchical and Mixed Effects Models in R
  • AI Chat
  • Code
  • Report
  • Spinner

    Course Notes

    Use this workspace to take notes, store code snippets, or build your own interactive cheatsheet! The datasets used in this course are available in the datasets folder.

    # Import any packages you want to use here
    library(lme4)

    Take Notes

    Add notes here about the concepts you've learned and code cells with code you want to keep.

    Add your notes here

    # Add your code snippets here
    birth_rate_state_model <- lmer(BirthRate~(1|State), 
                                data =county_births_data)