Hello! I am new to the community and I wanted to learn how to ask a question meeting REPREX guidelines. Please provide feedback on the structure of my submission.
Example Question: How might I convert this into a smooth line plot with three different colored lines for each species?
library(ggplot2)
library(palmerpenguins)
ggplot(data=penguins) +
geom_point(mapping=aes(x=flipper_length_mm, y=body_mass_g))+
labs(title="Palmer Penguins: Body Mass vs Flippler Length",
subtitle="Sample of Three Penguin Species", caption="Data Collected by Dr. Kirkwood")+
annotate("text", x=220, y=3500,label="The Gentoos are the largest", color="blue",
fontface="bold", size=4.0, angle=45)
#> Warning: Removed 2 rows containing missing values (geom_point).
Created on 2022-06-09 by the reprex package (v2.0.1)