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
length(x)
## [1] 3
x<-c(1,10);y<-c('apple','melon')
xy<-c(x,y)
xy
## [1] "1"     "10"    "apple" "melon"
gender<-c('male','female','male')
bloodtype<-c('AB','o','B')
height<-c(170,172,180)
weight<-c(70,65,76)
df1<-data.frame(gender,bloodtype,height,weight)
df1
##   gender bloodtype height weight
## 1   male        AB    170     70
## 2 female         o    172     65
## 3   male         B    180     76
car<-c('kia','bmw','toyota')
df2<-data.frame(df1,car)
df2
##   gender bloodtype height weight    car
## 1   male        AB    170     70    kia
## 2 female         o    172     65    bmw
## 3   male         B    180     76 toyota