diff --git a/functions.Rmd b/functions.Rmd index 5d75066..abaf220 100644 --- a/functions.Rmd +++ b/functions.Rmd @@ -189,7 +189,7 @@ impute_missing() collapse_years() ``` -If your function name is composed of multiple words, I recommend using "snake\_case", where each word is lower case and separated by an underscore. camelCase is a popular alternative alternative, but be consistent: pick one or the other and stick with it. R itself is not very consistent, but there's nothing you can do about that. Make sure you don't fall into the same trap by making your code as consistent as possible. +If your function name is composed of multiple words, I recommend using "snake\_case", where each word is lower case and separated by an underscore. camelCase is a popular alternative, but be consistent: pick one or the other and stick with it. R itself is not very consistent, but there's nothing you can do about that. Make sure you don't fall into the same trap by making your code as consistent as possible. ```{r, eval = FALSE} # Never do this!