title: “Quiz on Introduction to R” author: “Keegan Flynn output: html_document: toc: true —

Q1. What is a major difference between matrices and data frames?

Upload the ncbirths.csv file; save it in the data folder; and upload it into the data folder. Revise the read.csv code line so that the code matches both the name and address of the data file. The row represent newborns and the column characteristics of the newborns.

Q2. How many newborns are there in the dataset?

1000 Hint: See the number of observations under the structure of the data set.

Q3. How many columns are there?

13 Hint: See the number of variables under the structure of the data set.

Q4. How many factor variables are there?

7 Hint: See the description of variables under the structure of the data set.

Q5. How much does the heaviest newborn weigh?

11.750 Hint: See the summary statistics of the data set.