Google RLint: Reformatting R Code to Follow the Google St User Manual Page 10

  • Download
  • Add to my manuals
  • Print
  • Page
    / 19
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 9
Google Confidential and Proprietary
Ex: Indentation
Code
if (x == 5)
while (x > 1) # R-bleed bug? ;)
x <- x - 1
print(x)
Corrected code
if (x == 5)
while (x > 1)
x <- x - 1
print(x)
Page view 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 18 19

Comments to this Manuals

No comments