updating models for population

This commit is contained in:
Matthew Gaughan 2024-06-23 22:53:19 -05:00
parent 396b52cd19
commit 233d601e47
3 changed files with 7 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -61,6 +61,13 @@ contrib_contrib_model <- glmer.nb(log1pcount ~ after_doc + (after_doc| upstream_
summary(contrib_contrib_model) summary(contrib_contrib_model)
saveRDS(contrib_contrib_model, "final_models/0623_pop_contrib_contrib.rda") saveRDS(contrib_contrib_model, "final_models/0623_pop_contrib_contrib.rda")
library(texreg)
texreg(list(collab_readme_model, contrib_readme_model), stars=NULL, digits=2,
custom.model.names=c( 'collab','contrib.' ),
custom.coef.names=c('(Intercept)', 'after_introduction'),
use.packages=FALSE, table=FALSE, ci.force = TRUE)
library(ggplot2) library(ggplot2)
contrib_pop_readme |> contrib_pop_readme |>
ggplot(aes(x = after_doc, y = log1pcount)) + ggplot(aes(x = after_doc, y = log1pcount)) +