parent
2c662ff663
commit
cf1a72f7a6
|
@ -24,7 +24,7 @@ All R statements where you create objects, __assignment__ statements, have the s
|
|||
object_name <- value
|
||||
```
|
||||
|
||||
When reading that code say "object_name gets value" in your head.
|
||||
When reading that code say "object name gets value" in your head.
|
||||
|
||||
You will make lots of assignments and `<-` is a pain to type. Don't be lazy and use `=`: it will work, but it will cause confusion later. Instead, use RStudio's keyboard shortcut: Alt + - (the minus sign). Notice that RStudio automagically surrounds `<-` with spaces, which is a good code formatting practice. Code is miserable to read on a good day, so giveyoureeyesabreak and use spaces.
|
||||
|
||||
|
|
Loading…
Reference in New Issue