ProjectMOSAIC / mosaicModel

Utilities for creating, visualizing, and predicting with models
Other
2 stars 1 forks source link

Example code in description for mod_eval() does not run #8

Closed eliaseythorsson closed 7 years ago

eliaseythorsson commented 7 years ago

Example code in description for mod_eval() does not run. The issue is with the mod_eval() function itself (line 3). See error message below.

1 mod2 <- glm(married == "Married" ~ age + sex * sector, 2 data = mosaicData::CPS85, family = "binomial") 3 mod_eval(mod2, nlevels = 2) Error in names(tmp) <- NULL : object 'tmp' not found mosaicData

dtkaplan commented 7 years ago

Thanks. I've pushed the fix to this.