drc
drc copied to clipboard
option 'otrace' in 'drmc' documented incorrectly
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"