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

Elements of slopes are different #80

Open
quantmeth opened this issue Dec 16, 2024 · 0 comments
Open

Elements of slopes are different #80

quantmeth opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@quantmeth
Copy link

The data (a list of possibly) within the slopes element of the sim_slopes() function, are of different class, the first one is of class "data.frame" and the second one is of classes "matrix" and "array". This is probably to the two moderators or the modx.values.

This prevents the uses of apply() functions.

out <- sim_slopes(model = reg.res, pred = X, modx = W, mod2 = Z, modx.values = "plus-minus", mod2.values = "plus-minus", jnplot = TRUE
image

@quantmeth quantmeth added the bug Something isn't working label Dec 16, 2024
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