Skip to content
forked from masurp/specr

Conducting and Visualizing Specification Curve Analyses

License

Notifications You must be signed in to change notification settings

cbjrobertson/specr

 
 

Repository files navigation

specr initial glmer implementation

Intended usage is a follows:

my_glmer <- function(formula,data){
  glmer(formula, data = data, family = binomial)
}


results <- run_specs(df = example_data, 
                     y = c("y1","y2"),
                     x = c("x1","x2"),
                     model = c('my_glmer'), 
                     random_var_components = c("(1|group1)","(x1|group1)"),
                     controls = c("c1","c2"), 
                     subsets = list(group1 = unique(example_data$group1)))
                     )

Hope it's helpful. Thanks for the great package!

About

Conducting and Visualizing Specification Curve Analyses

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%