From ad1ce3b3124fd545559c5026c48d5d0692a5c091 Mon Sep 17 00:00:00 2001 From: Ahmed ElGabbas Date: Fri, 18 Mar 2016 02:41:52 +0100 Subject: [PATCH] typo --- functions.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!