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")

GGplot for starwars mass vs height fro Humans


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

Star Wars-Force Awakens

knitr::include_graphics("StarWars.jpg")

A knit kable table of starwars data


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].

References



mayurgpt07/DATA-598-WI20-week-5 documentation built on Feb. 25, 2020, 3:53 a.m.