Question : r variables
Answered by : msk-sk
# 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
Source : | Last Update : Mon, 30 May 22
Question : vars() in R
Answered by : grotesque-grebe-8vr4b715pfu4
vars() in R: vars() is a quoting function that takes inputs to be evaluated in the context of a dataset. These inputs can be: variable names. complex expressions.
Source : | Last Update : Sun, 24 Jan 21