Skip to content

Elements of slopes are different #80

Description

@quantmeth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions