interactions icon indicating copy to clipboard operation
interactions copied to clipboard

Elements of slopes are different

Open quantmeth opened this issue 1 year ago • 0 comments

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 avatar Dec 16 '24 14:12 quantmeth