R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
##
## The downloaded binary packages are in
## /var/folders/0t/rn_fyzy57zj7zk90gbq3s6x40000gn/T//RtmpNoOtvS/downloaded_packages
##
## The downloaded binary packages are in
## /var/folders/0t/rn_fyzy57zj7zk90gbq3s6x40000gn/T//RtmpNoOtvS/downloaded_packages
##
## The downloaded binary packages are in
## /var/folders/0t/rn_fyzy57zj7zk90gbq3s6x40000gn/T//RtmpNoOtvS/downloaded_packages
##
## The downloaded binary packages are in
## /var/folders/0t/rn_fyzy57zj7zk90gbq3s6x40000gn/T//RtmpNoOtvS/downloaded_packages
##
## The downloaded binary packages are in
## /var/folders/0t/rn_fyzy57zj7zk90gbq3s6x40000gn/T//RtmpNoOtvS/downloaded_packages
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
## ✓ tibble 3.0.4 ✓ dplyr 1.0.4
## ✓ tidyr 1.1.2 ✓ stringr 1.4.0
## ✓ readr 1.4.0 ✓ forcats 0.5.1
## ✓ purrr 0.3.4
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## x dplyr::filter() masks stats::filter()
## x dplyr::lag() masks stats::lag()
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
aplot <- aplot + geom_point(mapping = aes(color = Region), shape = 21, size = 2, fill = "white")
##1b. set parameter of color var to by "Region"
###1b1.Color the points based on Region using hollow points
###1b2. set value in geom_point for fill
#mapping = aes(color = Region),
#shape, # defines shape
# size, # defines correct size
# show.legend = TRUE, # implements a legend