boxplot - Box plotting in R? -
i have data looks this: data r
i want create side-by-side box plot comparing agecat , ttscore. love have ttscore on y-axis values 0-5 , on x-axis have different values of agecat a, b, c , d each representing age group.
help appreciated, thank you!
try this:
boxplot(ttscore ~ agecat,df)
assumption: df name of dataset
Comments
Post a Comment