R Markdown Presentation & Plotly Assignment

Cvetan Veljanovski
20/02/2021

Instructions

Create a web page presentation using R Markdown that features a plot created with Plotly. Host your webpage on either GitHub Pages, RPubs, or NeoCities. Your webpage must contain the date that you created the document, and it must contain a plot created with Plotly. We would love to see you show off your creativity!

Slide with code for creating a table for the IRIS dataset

knitr::kable(iris[1:5, ], caption = 'Iris Dataset')

Table: Iris Dataset

Sepal.Length Sepal.Width Petal.Length Petal.Width Species
5.1 3.5 1.4 0.2 setosa
4.9 3.0 1.4 0.2 setosa
4.7 3.2 1.3 0.2 setosa
4.6 3.1 1.5 0.2 setosa
5.0 3.6 1.4 0.2 setosa

Slide With Plot

set.seed(1919)                              
x1 <- rnorm(1000)
y1 <- x1 + rnorm(1000)
plot(x1, y1,                                 
     main = "This is my Plot",
     xlab = "X-Values",
     ylab = "Y-Values")
abline(lm(y1 ~ x1), col = "red")               # Draw regression line

plot of chunk unnamed-chunk-1