drc icon indicating copy to clipboard operation
drc copied to clipboard

option 'otrace' in 'drmc' documented incorrectly

Open NicWir opened this issue 3 years ago • 0 comments

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"

NicWir avatar Oct 22 '22 15:10 NicWir