강의

멘토링

커뮤니티

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

65 learners

Level Beginner

Course period Unlimited

  • coco
R
R
Web Crawling
Web Crawling
R
R
Web Crawling
Web Crawling

What you will gain after the course

  • 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,388

Learners

509

Reviews

136

Answers

4.4

Rating

20

Courses

I am an unemployed scholar who majored in statistics as an undergraduate, earned a PhD in industrial engineering (artificial intelligence), and is still studying.

Awards ㆍ 6th Big Contest: Game User Churn Algorithm Development / NCSOFT Award (2018) ㆍ 5th Big Contest: Loan Delinquency Prediction Algorithm Development / Korea Association for ICT Promotion

Awards

ㆍ 6th Big Contest Game User Churn Prediction Algorithm Development / NCSOFT Award (2018)

ㆍ 5th Big Contest Loan Defaulter Prediction Algorithm Development / Korea Association for ICT Promotion (KAIT) Award (2017)

ㆍ 2016 Weather Big Data Contest / Korea Institute of Geoscience and Mineral Resources President's Award (2016)

ㆍ 4th Big Contest: Development of Insurance Fraud Prediction Algorithm / Finalist (2016)

ㆍ 3rd Big Contest Baseball Game Prediction Algorithm Development / Minister of Science, ICT and Future Planning Award (2015)

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

My primary research areas are data science, reinforcement learning, and deep learning.

I am currently doing crawling and text mining as a hobby :)

I developed an app called Marong that uses crawling to collect and display only popular community posts,

I also created a restaurant recommendation app by collecting lists of famous restaurants and blog posts from across the country :) (it failed miserably..)

I am currently a PhD student researching artificial intelligence.

I even developed a restaurant recommendation app by collecting blog posts and lists of top-rated restaurants across the country :) (though it failed miserably...) Now, I am a PhD student researching artificial intelligence.

I even developed a restaurant recommendation app by collecting lists of famous restaurants and blogs from all over the country :) (It failed miserably...) Now, I am a PhD student researching artificial intelligence.

I even developed a restaurant recommendation app by collecting lists of famous restaurants and blogs from all over the country :) (It failed miserably...) Now, I am a PhD student researching artificial intelligence.

I even developed a restaurant recommendation app by collecting lists of famous restaurants and blogs from all over the country :) (It failed miserably...) Now, I am a PhD student researching artificial intelligence.

Curriculum

All

45 lectures

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

3 reviews

3.7

3 reviews

  • h95029221036님의 프로필 이미지
    h95029221036

    Reviews 7

    Average Rating 5.0

    5

    100% enrolled

    It helped me understand R...

    • liviate1464님의 프로필 이미지
      liviate1464

      Reviews 2

      Average Rating 5.0

      5

      100% enrolled

      It was a good textbook because it had a clear direction. I think it would be better to search and refer to the most basic parts.

      • booby104님의 프로필 이미지
        booby104

        Reviews 1

        Average Rating 1.0

        1

        13% enrolled

        I'm writing this because I think there are people who bought it thinking it was a video like me. It's not a video, it's only information. If it was going to be like this, I should have bought a book.

        $14.30

        coco's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!