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

option 'otrace' in 'drmc' documented incorrectly #29

Open
NicWir opened this issue Oct 22, 2022 · 0 comments
Open

option 'otrace' in 'drmc' documented incorrectly #29

NicWir opened this issue Oct 22, 2022 · 0 comments

Comments

@NicWir
Copy link

NicWir commented Oct 22, 2022

I noticed that the value of argument otrace in drc::drmc() is assigned to silentVal in drc:::drmOpt() which further defines silent in try( stats::optim() ).

The documentation for drc::drmc() states:
"otrace logical. If TRUE the output from optim is displayed."
which is misleading. If TRUE, then try( optim(startVec, ....), silent = TRUE) will be executed and thus the error message (if any) will be suppressed. The argument as little to do with "the output from optim"

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

1 participant