integer, logical, numeric, character
x1 <- 5
is.character(x1)
x2<-as.character(x1)
is.character(x2)
is.numeric
as.numeric()
x3 <- c(1, FALSE)
x3
if(3 != 4){
print("is not Equal")
} else {
print("is Equal")
}
13%/%3
x2 <- x1 <=3
x2
w <- c(1,0,1)
names(w) <- c('a','b','c')
w
?names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.