search for: sergushichev

Displaying 2 results from an estimated 2 matches for "sergushichev".

2023 Mar 01
1
Incorrect behavior of ks.test and psmirnov functions with exact=TRUE
...- ret/exp(logdenom) to capture 1/combination(100, 50). I don't have time to provide a fix, at least not now, but I think this behavior (good absolute error, but poor relative error for small values) should at least be mentioned in the manual of the methods psmirnov and/or ks.test Best, Alexey Sergushichev [[alternative HTML version deleted]]
2014 Jan 18
1
Using unit-tests as examples
Hi, Which is the best way to use unit tests as examples for documentation? I use testthat, but if there is a good way to do this, for example, only with RUnit, it'd still be good to know. Unit-tests are usually simple and concise, so they are good candidates for example code, but I don't want to copy them into documentation and maintain by hands. I tried to google how people handle this,