Hi i'm using plot function to create a plot but the plot isn't showing correctly. please help
What are you expecting to see?
I ran correlation test and the result show very strong positive relationship. This plot doesn't seem okay, any tips?
Using ggplot2, I suggest using the function
geom_count (https://ggplot2.tidyverse.org/reference/geom_count.html). Something like this:
df1 %>% ggplot(aes(x=college_completed, y=likely_to_choose_stats_course)) + geom_count() + xlab("Number of stats courses taken in college") + ylab("Likely to take statistics")
thank you but it is showing preety much the same thing.
You could try geom_jitter instead of geom_count. You're plotting two essentially categorical variables so there aren't many options. Nothing is wrong with the plots, it is showing exactly what the data is. Also, what was your correlation and sample size?
sure and my cor = 0.08721193
and df = 168
That is not a strong correlation in my opinion.
Yup i see, maybe thats what causing it. Thank you
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.