Reading and importing data
Data Types & Structures
Basic Statistics in R
Rstudio Environment & Tools
Debugging & Errors
100

What function is used to read CSV files into R?

read.csv()

100

What data type is "Hello" in R

Character

100

What abbreviation is used for standard deviation? 

sd

100

What pane in Rstudio shows your variables and data?

Environment pane

100

What kind of error fo you get if you forget a closing parentheses?

Syntax error

200

What argument do u add to read.csv() to prevent strings from turning into factors?

stringsAsFactors = FALSE

200

What is a vector in R?

A sequence of elements of the same type 
200

What abbreviation is used to find histograms?

hist

200

What pane shows plots or help files?

viewer/Plots/Help pane

200

What does R usually say when a variable hasn't been defined?

"Object not found"

300

What function shows the first few rows of a dataset?

head()
300

What structure stores rows and columns, like a table?

Data frame

300

What does rep () do in R?

Repeats values a specified number of times

300

How do u clear the console in RStudio? 

ctrl + or command + L

300

What might cause an error in mean ("hello")?

You cant take the mean of a character value
400

What function do you use to set your working directory?

setwd()

400

What function shows the structure of a dataset?

str()

400

How do we start a plot code?

plot(

400

What button do u click to run a selected line of code?

Run()

400

If R says "unexpected symbol," what is probably wrong?

There is a typo or a missing operator

500

What does read.table() need that read.csv () automatically includes?

A sep argument (usually sep="," for CSV)

500

What R function tells you the type of an object?

class () or typeof ()

500

What function returns the names of columns in a data frame? 

colnames()

500

Where can u install new R packages in RStudio? 

Packages tab 
500

How do you check what went wrong in a function?

Use traceback () or read the error message carefully