Base R Graphic Assignment: Scatterplot
Here is a simple scatter-plot made with the plot()
function featuring the two variables Bill_length_mm and
Flipper_length_mm from the penguins dataset.
When looking at the graph between flipper length and bill length there seems to be a strong positive linear relationship between the two variables. This is most evident with the Gentoo species, where the flipper and bill length are the biggest. With the other two species, Adelie and Chinstrap, the relationship is less strong and can impact the overall model. If species wasn’t taken into account, a regression line could possibly show a negative linear relationship. When looking at the body mass for each species, Gentoo has the largest marker, indicating that they are the largest species out of the three. This also supports the reasoning as to why the Gentoo species has the larger bill and flipper size.