Use the given code below to answer the questions.

Q1 Get Amazon stock prices, instead of Apple.

Q2 How many columns (variables) are there?

7 columns

Q3 Interpret the second observation?

On January 5th 2016, AMZN stock opened at 647, with a high of 647, and a low of 628, it closed at 634.

Q4 What type of data are they? What are other basic data types in R?

Numeric data is the type used here. character data and logical data are other types.

Q5 Plot the adjusted closing price in a line chart.

Q6 From the chart you created in Q5, briefly describe how the Amazon stock has performed since the beginning of 2019.

They started off slow and ended up performing well until of recent.

Q7 Hide the messages and the code, but display results of the code from the webpage.

Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.

Q8 Hide the given code at the top and its results from the webpage.

Hint: Use eval in the chunk option. Refer to the RMarkdown Reference Guide.

Q9 Display the title and your name correctly at the top of the webpage.

Q10 Use the correct slug.