Complete the code to load a CSV file into R.
data <- read.csv([1])To load a CSV file, you must provide the filename as a string in quotes.
Complete the code to check the first few rows of the loaded data.
head([1])The head() function shows the first rows of the data frame named data.
Fix the error in the code to load a CSV file with headers.
data <- read.csv("data.csv", [1] = TRUE)
The correct argument to specify headers in read.csv is header.
Fill both blanks to load a CSV file and view its structure.
data <- [1]("data.csv", header = TRUE) str([2])
Use read.csv to load the file and str(data) to see its structure.
Fill all three blanks to load data, check its summary, and view the first rows.
data <- [1]("data.csv", header = TRUE) summary([2]) head([3])
Load data with read.csv, then use summary(data) and head(data) to explore it.
