REPREX question feedback

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)

Sharing a RStudio Cloud project link is of no use if the project is set to be private, and for your reprex it would be nice if you include the actual plot produced by your code but it is not actually necessary.

Hi, thank you for the feedback! I added a photo of the plot!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.