Lesson 1 Flashcards
What are objects/variables?
Named data structures that store data
What are objects/variables in R?
Call the data stored in an object
What is R?
An object oriented programming language?
What can objects be?
Single digit, character, a Boolean, data frame, a list of data frame, matrix,vector etc.
hashtag/# in R?
Tells R what follows is NOT executable code
How to create an object?
Object name <- value
What is a numeric vector?
One dimensional arrays
What is R arithmetic order by operations?
First: Exponent or root, second: multiplication or division, third: addition or subtraction
What are vector?
A sequence of data elements that are of the same type
What are the type of vector?
Integer, double, charater, logical, complex, raw
What is the assignment operator?
The left pointing arrow and the dash or minus (<-)
What are variables and functions names in R composed of?
Letters (a-z, A-Z), numerals (0-9), periods (.), and underscores (_), and they may be arbitrarily long.
What is an integers?
Whole numbers; with nothing after the decimal
What are double?
Doubles store regular numbers (large, small, positive, negative, with digits after the decimal, or without)
(String)The elements of character vectors; can be…
Letters, numbers, or symbols