thinhong / denim

R package for discrete model
https://thinhong.github.io/denim/
Other
2 stars 1 forks source link

Rename function gamma in distribution.R #10

Closed choisy closed 2 years ago

choisy commented 2 years ago

This is potentially very dangerous that the function gamma() defined in distribution.R hides the base::gamma() function. Rename it (and all your distribution functions accordingly). Suggestions: d_gamma(), distr_gamma(), etc... Just make sure there is consistency across the various distribution functions defined in the package.