Reputation: 161
I have a script that usually allows me to plot Odds Ratios with plot_model
. However, when I tried to run it today, I got two errors.
When using plot_model
on a model that runs, RStudio told me the function could not be found.
I ensured sjPlot was installed and loaded and then tried using sjPlot::plot_model...
to make sure R looked in the right package, but I got another error: object ‘standard_error_robust’ is not exported by 'namespace:parameters'
What might cause that error?
How might I solve the problem to get the plot_model
function working again?
Upvotes: 0
Views: 952
Reputation: 1
For this, I tried everything but ultimately one thing worked for me:
I had to update all the libraries in R console, it worked for me
update.packages(ask = FALSE)
Upvotes: 0
Reputation: 161
@Stefan found the answer for me on a GitHub page.
I'm pasting the steps that I used from that page below:
easystats::install_latest()
install.packages(c("sjstats", "sjPlot"))
Upvotes: 0