Closed JonasMoss closed 5 years ago
Here's an example of the problem:
x = c(0, rgamma(100, 10, 1)) > kdensity::kdensity(x, start = "gamma") Error in if (abs((shape - shape0)/shape0) < rel.tol) break : missing value where TRUE/FALSE needed
Here's what I propse we do:
Fixed this by added "assertthat"s to each sinner. The messages should be clear enough.
Here's an example of the problem:
Here's what I propse we do: