Introduction to R Programming and RStudio (copy)

call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:29 AM on 9/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat
Add student to class section state
Add studentsNo students in these sections. Invite them to track progress!

15 Terms

1
New cards

R programming language

An object-oriented programming language primarily used for statistics-based research and data science.

2
New cards

RStudio

An Interactive Development Environment (IDE) for R that enhances the coding experience.

3
New cards

Variable initialization

The process of assigning a value to a variable in R using either 'variable_name = value' or 'variable_name <- value'.

4
New cards

Comments in R

Created using the pound sign (#), comments are ignored during compilation and used to document code.

5
New cards

Comparison operators

Operators in R that include == (equal to), > (greater than), < (less than), >= (greater than or equal to), and <= (less than or equal to).

6
New cards

Data Frame

A collection of vectors organized into a table with rows and columns, used for structured data storage in R.

7
New cards

Functions in R

Pre-written blocks of code designed to perform specific tasks, like 'table()' for generating frequency tables.

8
New cards

R packages

Collections of R functions that extend the programming capabilities, installed using 'install.packages()'.

9
New cards

Numeric data type

Data type in R that represents numbers, including integers and decimals.

10
New cards

Character/String data type

Textual data in R, represented by strings enclosed in quotation marks.

11
New cards

Boolean data type

Represents logical values (True or False) in R, which can also be denoted as T or F.

12
New cards

Missing values in R

Indicated by 'NA', representing a lack of information in datasets.

13
New cards

Vector

A data structure in R that is a collection of multiple values, created using 'c(value1, value2, …)'.

14
New cards

File handling in R

The process of saving and working with files, such as using 'write.csv()' for CSV files and changing directories with 'setwd()'.

15
New cards

Learning R

A recommended approach includes identifying a problem or dataset, engaging with material, and learning through practice.