Book - Chapter 3 basic analytics in r Flashcards
What is the function to import data
Read.csv
What does the head function do
Examines the imported dataset
What does the summary function do
Provide some descriptive statistics, such as mean and medium, for each data column
When referring to a column in a dataset what symbol should you use
The $
How would you plot linear regression
Lm
What does our software use
Commandline interface
How do you set a working directory
Set WD
What are the categorical/qualitative attribute types
Nominal and ordinal
What are the numeric/quantitative attribute types
Interval and ratio
What are nominal data types
ZIP Codes nationality street names gender employee ID number true or false
What is an ordinal data type
Ordered names for example
quality of diamonds
academic grades
magnitude of earthquakes
What is interval data types
Numeric with no true zero for example Celsius or Fahrenheit
What is ratio data type
Numeric with a true zero for example age or temperature in Kelvin
What is a vector
Set of values of the same data type.
What can you use to create vectors
The combined function
What dimension is a vector
They are dimensionless
What is a 2dimensional array
Matrix
What is an array
N dimensional set of homogenous data type values
What does the function nrow and nCol do
Define the number of rows and columns
What is a DataFrame
Like a spreadsheet and list but all columns are the same length
Can data frames stored different data types
Yes
What is the list
A list is a collection of vectors and to be different lengths
What is a factor
A set of categorical variables.
Fix set of values and use integer code to represent different values
What does variance mean
The distance from means squared
What does standard deviation mean
The square root of variance
What does ranged mean
Minimum to maximum
What is interquartile range
25% to 75% of the size order data