Publications by PARK SOMIN
4일차_오전실습
#실습(오전) library(caret) ## 필요한 패키지를 로딩중입니다: ggplot2 ## 필요한 패키지를 로딩중입니다: lattice library(lubridate) ## ## 다음의 패키지를 부착합니다: 'lubridate' ## The following objects are masked from 'package:base': ## ## date, intersect, setdiff, union library(plyr) library(dplyr)...
625 sym R (10307 sym/29 pcs) 1 img
240131_4교시실습결과본
#4교시(실습) getwd() ## [1] "D:/도교공/20240129-20240201" setwd('d:/data') #install.packages('plyr') library(dplyr) ## ## 다음의 패키지를 부착합니다: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, set...
632 sym R (30968 sym/36 pcs) 1 img
빅데이터 분석 실무과정 2일차_오후
#install.packages('gapminder') getwd() ## [1] "D:/도교공/20240129-20240201" 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 library(gg...
719 sym R (36651 sym/114 pcs) 10 img
빅데이터 분석 실무과정 2일차_오전
getwd() setwd('d:/data') getwd() ls() rm(list=ls()) ls() library(dplyr) df <-read.csv('ta1.csv',fileEncoding = 'euc-kr') View(df) names(df) df %>% rename(month=월별.1.,사고건수=X2022,사망자수=X2022.1, 연령층=가해자연령층별.1.,부상자수=X2022.2) df1<-df %>% rename(month=월별.1.,사고건수=X2022...
599 sym R (2424 sym/3 pcs) 1 img
빅데이터 분석 실무과정 2일차_오후
gapminder %>% filter(country=='Korea, Rep.')%>% ggplot(aes(year, lifeExp, col=country)) + geom_point()+geom_line() #파생변수생성 getwd() library(dplyr) library(ggplot2) data(cars) glimpse(cars) summary(cars) cars1 <- cars %>% mutate(violation=ifelse (cars$speed>15.4, 'fast','slow')) cars1 glimpse(cars1...
599 sym R (2241 sym/3 pcs) 1 img
240129_3,4교시결과취합본
#240129 오후반 data(iris) iris[,c(1:2)] ## Sepal.Length Sepal.Width ## 1 5.1 3.5 ## 2 4.9 3.0 ## 3 4.7 3.2 ## 4 4.6 3.1 ## 5 5.0 3.6 ## 6 5.4 3.9 ## 7 4.6 3.4 ## 8 5.0 3.4 ## 9 ...
821 sym R (311169 sym/224 pcs) 2 img
빅데이터분석 실무 1일차 교육
1+1 ## [1] 2 #오류로 잡지않아요~ 3+2 ## [1] 5 3-1 ## [1] 2 3*2 ## [1] 6 3/2 ## [1] 1.5 3^2 ## [1] 9 x <-3 #할당연산자 기호 '<-' x ## [1] 3 3>4 ## [1] FALSE 3>=4 ## [1] FALSE 3==4 ## [1] FALSE !(3==4) ## [1] TRUE TRUE & FALSE #교집합 ## [1] FALSE TRUE|FALSE #합집합(하나의 조건만 만족해도 나옴) ## [1] TRUE a <-100 ...
666 sym R (1784 sym/70 pcs) 1 img