Category: R

0

twitter API prac

트위터 API 인증 https://apps.twitter.com 회원가입 한 뒤 create an app 클릭 후 진행 rtweet 패키지1234# install.packages("rtweet")library(rtweet)library(dplyr)library(ggplot2) search Tweets 함수12rstats <- se

0

Rshiny setup

R shiny setup setting12345install.packages('rsconnect')library(rsconnect)rsconnect::setAccountInfo(name='kjm94', token='14A30ABF3A5B0831FAF5A8FFB145F

0

R-ggplot No.1

눈금 표시 방법123456ggplot(PlantGrowth, aes(x = group, y = weight)) + geom_boxplot() + scale_y_continuous(limits = c(0, 10), # 축 범위 breaks = c(1, 3, 5, 7, 9), # 축의 숫자 지정

0

R test1

패키지 설치 방법 ggplot2와 dplyr 패키지 설치 방법 기재 12install.package("ggplot2")install.package("dplyr") 패키지 설치 12library(ggplot2)library(dplyr) 라이브러리 연결 액셀 데이터 받아오기12counties <- readxl::rea

0

image upload

#이미지 올리기 1![](../image/r_markdown/pressure-1.png)

0

R aes

getwd() 위치확인rm(list = ls()) 모두 지우기 12345678910111213141516171819library(ggplot2)ggplot(iris, aes(x = Sepal.Length, y = Sepal.Width, colours = Species)) + geom_point(size = 5) + th

0

R-DAY1

12345# Factor 범주형 변수# 컴퓨터 <- 숫자로 인식# 문자 숫자 논리형 순으로 저장# ordered = TRUE# levels = c("정렬") 12345678910111213141516171819202122232425262728# 1. 사람과 관련된 데이터# - 고객 데이터 (CRM)# 2. 기계와 관련된 데이터# -