Skip to content
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

Issue when output = "covariate" for diagnostic.plot() #2

Closed
XiaoruiZhu opened this issue Jul 13, 2020 · 0 comments
Closed

Issue when output = "covariate" for diagnostic.plot() #2

XiaoruiZhu opened this issue Jul 13, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@XiaoruiZhu
Copy link
Owner

data("ANES2016")
# Partial association between "PreVote.num" and "PID" after adjusting "income.num", "age", "edu.year"
# "PAsso" function: Only need input responses, adjustments, data
PAsso_1 <- PAsso(responses = c("PreVote.num", "PID"),
adjustments = c("income.num", "age", "edu.year"),
data = ANES2016,
uni.model = "probit",
method = c("kendall"))
diagnostic.plot(object = PAsso_1, output = "covariate", x_name = "income.num", model_id = 2)

Error in assign(x = x_name, object$data[, x_name]) : invalid first argument

@XiaoruiZhu XiaoruiZhu added the bug Something isn't working label Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant