Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r variables

# basic variables
name <- "Msk Sk"
name

# Looping Variables
for (x in 1:10) {
	print(x)
}

# Paste function
text <- "awesome"
paste("R is", text)

text1 <- "R is"
text2 <- "awesome"

# Numbers
num1 <- 5
num2 <- 10

num1 + num2 
 
PREVIOUS NEXT
Tagged: #variables
ADD COMMENT
Topic
Name
9+8 =