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

Documentation for y #6

Open
jonas-hag opened this issue May 17, 2020 · 1 comment
Open

Documentation for y #6

jonas-hag opened this issue May 17, 2020 · 1 comment

Comments

@jonas-hag
Copy link

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.

@hlorenzo
Copy link
Owner

hlorenzo commented May 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants