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

export predict_honest #1

Closed
ellenxtan opened this issue Nov 14, 2020 · 1 comment
Closed

export predict_honest #1

ellenxtan opened this issue Nov 14, 2020 · 1 comment
Labels
question Further information is requested

Comments

@ellenxtan
Copy link

Hi! Thank you for your great package. I was wondering if you could export the predict_honest()? I could find it in the R documentation but could not use it alone. Thanks!

@okasag
Copy link
Owner

okasag commented Nov 15, 2020

Hi @ellenxtan and thanks for your interest in the package!

The predict_honest() function is not exported directly as this is controlled by the honesty argument within the main orf() function. As such, if you wish to get honest predictions, setting honesty=TRUE will do the trick:

orf_honest <- predict(orf(X, Y, honesty = TRUE))$predictions

Hope this helps!

@okasag okasag added the question Further information is requested label Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants