generated from byui-cse/byuids-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
competition.qmd
41 lines (35 loc) · 1.01 KB
/
competition.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: "about me"
subtitle: "my data science portfolio"
# use quarto markdown to
---
# Title 1 Header
## Title 2 Header
[MarkDown Basics](https://quarto.org/docs/authoring/markdown-basics.html#links-images)
#' ---
#' title: Palmer Penguins
#' author: Norah Jones
#' date: 3/12/23
#' format: html
#' ---
library(palmerpenguins)
#' ## Exploring the data
#' See @fig-bill-sizes for an exploration of bill sizes by species.
#| label: fig-bill-sizes
#| fig-cap: Bill Sizes by Species
#| warning: false
library(ggplot2)
ggplot(data = penguins,
aes(x = bill_length_mm,
y = bill_depth_mm,
group = species)) +
geom_point(aes(color = species,
shape = species),
size = 3,
alpha = 0.8) +
labs(title = "Penguin bill dimensions",
subtitle = "Bill length and depth for Adelie, Chinstrap and Gentoo Penguins at Palmer Station LTER",
x = "Bill length (mm)",
y = "Bill depth (mm)",
color = "Penguin species",
shape = "Penguin species")