dhill138 / spduration-paper

0 stars 0 forks source link

Clarify distr argument default value #2

Closed andybega closed 7 years ago

andybega commented 7 years ago

(2) for ‘spdur’ function, does user need to specify ‘distr’ or the default is Weibull? The first example ‘weib_model’ didn’t specify distribution but the manual doesn’t mention the default value.

andybega commented 7 years ago

The current version of spdur in 0.16.0 doesn't have a default value for distr, rather it has by default distr = c("weib", "loglog"). Need to update paper on this.

andybega commented 7 years ago

Actually this was wrong; because of "match.arg" it would default to "weibull", which is the first element in the vector that was passed. Updated the package doc to mention that, and updated the response memo.