Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 40
Hint – White space
ОглавлениеUsually, white space is not important for R.
For example, mean ( c (c + pi, 2 ) )
will do exactly the same as mean(c(1+pi,2))
. However, it is a good habit to add a white space before and after operators and after the comma. This will improve readability, which makes the debugging process easier and is helpful for other people who want to read your code.