A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jacob-long/jtools/issues/156 below:

effect_plot() does not work for a model with prior weights · Issue #156 · jacob-long/jtools · GitHub

Error trying to plot effects of a GLM with prior weights. Works well for models without weights.

model <- glm(predation ~ habitat, weights = rep(10, 360), data = lake)
#> Error in eval(mf, parent.frame()): object 'lake' not found
effect_plot(model, pred = habitat)
#> Error in effect_plot(model, pred = habitat): could not find function "effect_plot"
version
#>                _                                
#> platform       x86_64-w64-mingw32               
#> arch           x86_64                           
#> os             mingw32                          
#> crt            ucrt                             
#> system         x86_64, mingw32                  
#> status                                          
#> major          4                                
#> minor          4.0                              
#> year           2024                             
#> month          04                               
#> day            24                               
#> svn rev        86474                            
#> language       R                                
#> version.string R version 4.4.0 (2024-04-24 ucrt)
#> nickname       Puppy Cup
packageVersion("ggplot2")
#> [1] '3.5.1'
packageVersion("jtools")
#> [1] '2.2.2'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4