Save
Data Analytics
lesson 5
Save
Share
Learn
Content
Leaderboard
Learn
Created by
RetailBeaver34225
Visit profile
Cards (8)
R
A STATISTICAL PROGRAMMING LANGUAGE commonly used for statistical analysis, data visualization, and other forms of data manipulation
Variables
Reserved memory location to STORE VARIOUS INFORMATION AND VALUES, as we create a variable in our program, some space is reserved in memory
Data Types
Vectors
Lists
Arrays
Matrices
Data Frames
Factors
Vector
A SEQUENCE OF ELEMENTS which share the same data type
Creating Vectors
1. Using the colon(:)
operator
2. Using the seq()
function
3. Using the c() function -
combine
Data Frame
COMPRISED of ROWS and COLUMNS, where elements of each column is of the same type
SPACES BETWEEN CHARACTERS
DO NOT AFFECT CODE. It’s a good practice to add a
space
between
characters to make it easier to
read.
SPACES BETWEEN CHARACTERS DO
NOT AFFECT CODE. It’s a good practice to add a space betweencharacters to make it easier to read.