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:
summary(cars)
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
if (!require(devtools)) install.packages("devtools")
## Loading required package: devtools
## Warning: package 'devtools' was built under R version 4.2.3
## Loading required package: usethis
## Warning: package 'usethis' was built under R version 4.2.3
devtools::install_github("yanlinlin82/ggvenn")
## WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 4.2.1 was found. (Only the following incompatible version(s) of Rtools were found: 4.3.5550)
##
## Please download and install Rtools 4.2 from https://cran.r-project.org/bin/windows/Rtools/.
## Skipping install of 'ggvenn' from a github remote, the SHA1 (25fd3b55) has not changed since last install.
## Use `force = TRUE` to force installation
path = 'malenia.CSV'
deaths <- read.csv(path, row.names=NULL)
library(ggvenn)
## Loading required package: dplyr
## Warning: package 'dplyr' was built under R version 4.2.3
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
## Loading required package: grid
## Loading required package: ggplot2
## Warning: package 'ggplot2' was built under R version 4.2.3
x <- list(
RAW_MELEE = deaths[deaths$Host_Build == 'RAW_MELEE',]$Level,
HYBRID = deaths[deaths$Host_Build == 'HYBRID',]$Level,
RAW_CAST = deaths[deaths$Host_Build == 'RAW_CAST',]$Level
)
head(x)
## $RAW_MELEE
## [1] 124 139 180 139 141 131 131 133 122 143 146
##
## $HYBRID
## [1] 169 157 172 156 158 122 140 176 153
##
## $RAW_CAST
## [1] 141 133 137 140 167 123 153 174 132 151 176 137 123 121
ggvenn(
x,
stroke_size = 0.5, set_name_size = 4
)