강의

멘토링

로드맵

Data Science

/

Data Analysis

R Programming Core Textbook for Beginners

This is a PDF textbook that covers the basic grammar of R, frequently used functions, and useful intermediate to advanced techniques.

(3.7) 3 reviews

64 learners

  • coco
R
Web Crawling

What you will learn!

  • R Programming Basics

  • Frequently used R functions and techniques

  • R Programming for Data Analysis

R Programming, a core textbook for beginners, all in one place!

This is a downloadable textbook, not a video content.

The table of contents has been organized to help you build basic R programming skills, starting with how to install R and Rstudio.
It focuses on the concepts of vector, dataframe, and list, as well as frequently used functions and techniques, and also includes intermediate and advanced skills.
We will also learn and practice the basics of web crawling.

R Basic Grammar PDF Textbook and Practice Code Composition

The content is organized so that those who are new to the R language can follow along in order.
I have organized the PDF so that you can practice directly in R with ctrl+C, ctrl+V.
*The document is updated periodically.

Table of Contents (as of July 2020)

1. Install and configure R

  • Installing R and Rstudio
  • Rstudio setup
  • Rstudio window description
  • Encoding settings
  • Character corruption when opening Rscript in R Studio
  • RStudio Keyboard Shortcut Settings

2. How to handle vectors

  • Declaring and executing variables
  • Converting numbers to characters: as.character/as.numeric
  • Vector Declaration: Numeric/Character
  • How to handle vector index
    1. Single element approach to vector
    2. Multi-element approach to vector
    3. Vector's sequential multi-element approach
    4. How to remove specific elements from a vector
    5. How to access True/False in vector
  • Sorting Vector: sort/order functions
    1. Sort function
    2. order function
    3. Seq/Rep function

3. How to handle the Matrix

  • matrix declaration/matrix element access
  • Difference between matrix and data.frame
  • Setting dataframe column/row names (colnames/rownames functions)
  • paste function and paste0 function
  • rbind/cbind/c functions

4. Loops

  • How to use the for loop
  • Things to do when working with cat and print functions/loop statements
  • While loop

5. File Management (Input/Output and Storage)

  • Save csv file to desired path: write.csv, getwd, setwd
  • Creating a folder with code: dir.create function
  • Importing multiple CSV files into a single folder: list.files function
  • String search function (str_detect function, %in% operator)
  • Import and merge only the desired CSV files from multiple folders.

6. Understanding the Apply series of functions and lists

  • Understanding the apply function, calculating the sum of each data column/row
  • Understanding the tapply function properly and applying the function to each data element
  • Understanding the list function
  • String splitting function: str_split/list structure
  • Learn about the sapply and lapply functions
  • Using the do.call statement in a list
  • Saving a list: save/load functions

7. Other frequently used functions

  • Finding vector, matrix, dataframe, and list dimensions
  • Automatically declaring multiple variables in R
  • Save plot (resolution and size adjustment, multi plot)
  • How to use variables inside a function from outside in R
  • Sys.sleep function to keep code from executing
  • Functions to get the current date or time: Sys.time/Sys.Date
  • How to find NA, Inf, -Inf data
  • AND, OR, NOT operators
  • Extraction with replacement/extraction without replacement: sample function

8. Web crawling with R, just for fun

  • Clien Community Crawling 1
  • Clien Community Crawling 2
  • Clien Community Crawling 3

notification

📣 Please note before taking the class!
This content is not video content, but textbook content in the form of a text document.
Before downloading the entire PDF, please be sure to refer to the table of contents and the contents of Part 1. sample.
If you have downloaded the materials, refunds for the course are not possible.

In addition, unauthorized distribution, reproduction, and use of this document are prohibited.

Recommended for
these people

Who is this course right for?

  • For those who are new to R

  • For those who are new to programming

  • Anyone who wants to work with data

Hello
This is

8,299

Learners

501

Reviews

136

Answers

4.4

Rating

20

Courses

학부에서는 통계학을 전공하고 산업공학(인공지능) 박사를 받고 여전히 공부중인 백수입니다.

 

수상

ㆍ 제6회 빅콘테스트 게임유저이탈 알고리즘 개발 / 엔씨소프트상(2018)

ㆍ 제5회 빅콘테스트 대출 연체자 예측 알고리즘개발 / 한국정보통신진흥협회장상(2017)

ㆍ 2016 날씨 빅데이터 콘테스트/ 기상산업 진흥원장상(2016) 

ㆍ 제4회 빅콘테스트 보험사기 예측 알고리즘 개발 / 본선진출(2016)

ㆍ 제3회 빅콘테스트 야구 경기 예측 알고리즘 개발 / 미래창조과학부 장관상(2015)

* blog : https://bluediary8.tistory.com

주로 연구하는 분야는 데이터 사이언스, 강화학습, 딥러닝 입니다.

크롤링과 텍스트마이닝은 현재는 취미로 하고있습니다 :) 

크롤링을 이용해서 인기있는 커뮤니티 글만 수집해서 보여주는 마롱이라는 앱을 개발하였고

전국의 맛집리스트와 블로그를 수집해서 맛집 추천 앱도 만들었었죠 :) (시원하게 말아먹..)

지금은 인공지능을 연구하는 박사과정생입니다.

 

 

 

 

Curriculum

All

45 lectures

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

3 reviews

3.7

3 reviews

  • h9502922님의 프로필 이미지
    h9502922

    Reviews 7

    Average Rating 5.0

    5

    100% enrolled

    R을 이해하는데 도움이 되었어요...

    • 이병선님의 프로필 이미지
      이병선

      Reviews 2

      Average Rating 5.0

      5

      100% enrolled

      정확한 방향성을 가지고 가는 교재라서 좋았다. 가장 기초적인 부분은 검색하며 참조하면 더 좋을 것 같다.

      • 김민주님의 프로필 이미지
        김민주

        Reviews 1

        Average Rating 1.0

        1

        13% enrolled

        저처럼 영상인줄 알고 구매한 분들 있을까봐 씁니다. 영상아니고 only자료입니다. 이럴거면 책 하나 살걸

        $14.30

        coco's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!