a<-c(1,2,3)
a
## [1] 1 2 3
mean(a) # a
## [1] 2
max(a) # a
## [1] 3
min(a) # a
## [1] 1
library(dplyr)
## 
## 다음의 패키지를 부착합니다: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
x<-c(1,2,3)
mode(x)
## [1] "numeric"
is.numeric(x)
## [1] TRUE
is.logical(x)
## [1] FALSE
is.character(x)
## [1] FALSE
x<-c(1,10)
y<-c("apple", "melon")
xy<-c(x,y)