knitr::opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE, collapse = TRUE, comment = "#>" )
library(devtools) devtools::load_all() SimpleCompediumPackage::hello()
library(tidyverse) data <- data(starwars) knitr::read_chunk("ExternaLSourceCode.R")
We used scatter plot to display the mass vs height of human species. Just to make it more interesting I tried adding regression line to it
knitr::include_graphics("StarWars.jpg")
We can see in above table, some data for Droid and Human species. The Starwars table seems to have a lot less data for Droids as compared to Humans
On a site note, these articles are fun to read [@R-base; @R-rmarkdown].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.