R Programming Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts in R programming for data science.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

R

An open-source programming language specifically designed for statistical computing and data visualization.

2
New cards

Primary purposes of R in data science

Data manipulation, statistical modeling, and graphical representation.

3
New cards

Atomic vectors

The simplest data structures in R; they are homogeneous.

4
New cards

Types of atomic vectors

Logical, Integer, Double, Character, Complex, Raw.

5
New cards

List in R

A versatile data structure that can contain elements of different types.

6
New cards

Difference between a list and an atomic vector

Unlike atomic vectors, lists allow for heterogeneous elements.

7
New cards

Data frame in R

A table-like structure where each column can contain different types of data.

8
New cards

Matrix in R

A two-dimensional array that can only contain one data type throughout.

9
New cards

Packages in R

Collections of R functions, data, and compiled code bundled together.

10
New cards

How to install and load packages in R

They are installed using the install.packages("package_name") command and loaded using library(package_name).

11
New cards

ggplot2

R package used for creating high-quality, customizable visualizations using the grammar of graphics framework.

12
New cards

How ggplot2 improves data visualization

Allows users to construct plots layer by layer, making the visualizations more intuitive and informative.

13
New cards

dplyr

An R package designed for data manipulation.

14
New cards

Common dplyr functions

Functions like filter(), select(), mutate(), and summarise() help streamline data analysis workflows.

15
New cards

RStudio

An integrated development environment (IDE) for R that provides a user-friendly interface.

16
New cards

Features of RStudio

It includes features like a script editor, console, environment viewer, and file browser.

17
New cards

R Markdown

A file format that allows users to combine narrative text, code, and outputs in a single document.

18
New cards

Use of R Markdown

Creating dynamic reports, presentations, and reproducible research.

19
New cards

Tidyverse

A collection of R packages that share an underlying philosophy and common data structures for data science.

20
New cards

Key packages in the Tidyverse

ggplot2, dplyr, tidyr, readr, purrr, and tibble.