Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

naming conventions don't match R style guides #9

Open
AngusMcLure opened this issue Jan 18, 2022 · 0 comments
Open

naming conventions don't match R style guides #9

AngusMcLure opened this issue Jan 18, 2022 · 0 comments

Comments

@AngusMcLure
Copy link
Owner

R style is to use all snake_case for functions and datasets etc. I should go and change all the names to every function and dataset to all lowercase and include CamelCase names as aliases

Also some of the function names feel a bit clunky and not R-like. R tends to prefer terse lowercase acronyms which I don't like, but might be worth considering some naming convention like:

pglm (pooled generalised linear model)
pglmm (pooled generalised linear mixed model)

pglmm_bayes (pooled generalised linear mixed model in a bayesian framework)

get_prevalence (getPrevalence)

pprev (PoolPrev)
hpprev (HeirPoolPrev)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant