Skip to content

Documentation for y #6

Description

@jonas-hag

If you want to use perf_mddsPLS or mddsPLS with mode = "logit", y has to be a factor, it doesn't work with 1/0 as numeric. Instead it throws the cryptic error: Error in newY[i_new] <- as.character(RES$y) : replacement has length zero
It would be great if you could add it to the documentation that one has to use factors. Also, you could maybe add an input check to give more helpful error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions