The read.csv() function reads comma-separated data from a file and typically returns a data frame.
R for Data Analytics MCQ - Data Import and Data Cleaning
The write.csv() function is used to export an R data frame or similar object to a CSV file.
Setting row.names = FALSE prevents write.csv() from adding the R row names as an extra column in the output file.
The head() function displays the first several elements or rows of an R object and is commonly used to inspect a data frame.
The tail() function displays the last several elements or rows of an R object.

