Data Science Desktop Survival Guide
by Graham Williams |
|||||
Naming Objects |
20201102
Preferred
display_plot_again()
Discouraged |
DisplayPlotAgain()
displayplotagain() display.plot.again() Variable names use underscore separated nouns. A very common alternative is to use a period in place of the underscore. However, the period is often used to identify class hierarchies in R and the period has specific meanings in many database systems which presents an issue when importing from and exporting to databases. See Section 9.14 to rename variables automatically. Preferred |
num_frames <- 10
Discouraged |
num.frames <- 10
numframes <- 10 numFrames <- 10
|