데이터 가공에 대해 집중적으로 실습합니다. apply, bind, merge, dplyr, reshape에 대해 실습을 통하여 학습합니다. # 열별 합계colSums(iris[1:4]) # 방법 1a
지난주에 이어 데이터 가공에 대해 집중적으로 실습합니다. apply, merge, bind, dplyr, reshape에 대해 학습합니다. 강의 자료 받기:
강의 자료를 업로드 합니다. 다운받기:
library(dplyr)library(sqldf) #### 데이터 취득help(package='datasets')data(package='ggplot2') #### 데이터 읽기boston <- read.table('housing.data')glimpse(boston) names(boston)
#data manipulationdata("iris");str(iris) getwd()# setwd("~/R Lecture/")ls();rm(list=ls()) data(iris)str(iris)newiris