-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
love.plot: Error in scale_override_call(call) #83
Comments
Hi Rafael, Unfortunately, I am not able to replicate this issue using these versions of the package. The updated version of To diagnose this issue, can you give me a minimally reproducible data example (e.g., using |
Hi Noah |
So did Ilibrary(cobalt) Propensity score weightingw.out1 <- WeightIt::weightit( love.plot(w.out1, thresholds = c(m = .1), var.order = "unadjusted") Error in scale_override_call(call) :could not find function "scale_override_call"re-install cobalt didn't solve this error |
@himawork it's code that exists in |
I also had this issue. I uninstalled |
I'm trying to produce a loveplot of a matchit object, but I get the following error
"Error in scale_override_call(call) :
could not find function "scale_override_call"
I'm using MacOS, R 4.3.2 and the last Cobalt GitHub version (cobalt_4.5.4), and ggplot2 3.5.0
The code is the following:
matching_obj <- matchit(y ~ a + b + c + d, data = dataset, method = "nearest", ratio = 2, caliper = 0.1)
love.plot(matching_obj,
binary = "std",
sample.names = c("Unmatched", "Matched"),
thresholds = c(m = .1),
title = NULL)
Thanks in advance
The text was updated successfully, but these errors were encountered: