class: left, bottom background-image: url("images/contour.png") background-position: right background-size: auto # R Grammars ### Environmental Data Literacy <p> </p> <p> </p> <img src="images/logo1.svg" width="400px"> --- # Variable Assignment In R, we work algebraically assigning values to variables. A variable is simply a container within which we store information. ```r x <- 21 x ``` ``` ## [1] 21 ``` Yes those are .red[two different and connected symbols] used to assigne the value of 21 to the varialbe `x1`. -- In my mind, I see this as: > The variable `x` is assigned the value of 21. -- You can also go in the opposite direction ```r 42 -> y y ``` ``` ## [1] 42 ``` --- # Equality --- # Variable Naming --- class: middle background-image: url("images/contour.png") background-position: right background-size: auto .center[ # Questions? ![Peter Sellers](images/peter_sellers.gif) ] <p> </p> .bottom[ If you have any questions for about the content presented herein, please feel free to [submit them to me](https://docs.google.com/forms/d/e/1FAIpQLScrAGM5Zl8vZTPqV8DVSnSrf_5enypyp0717jG4PZiTlVHDjQ/viewform?usp=sf_link) and I'll get back to you as soon as possible.]