#Assignment rules x <-5 x y=6 y 7-> z z s <- 5 + +20-3+ +1* 6 s #Case Sensitive a<-10 A <- -25 c <- 80 A a c #R ignores blank spaces #Comments d <- 70 -3 #subtarcting two no. d # will output the value as 67 e <- 80+ #performing multiple line Assignment +75 e f <- #performing a two line assignment +23 d e f #Last Value Assignment #.Last.value outputs the last value from the previous function/In this case "f" value g <- .Last.value g
To embed this project on your website, copy the following code and paste it into your website's HTML: