Posts

Showing posts from August, 2020

Elegant barplot using ggplot function in R

Image
See Video   ⮞  ☝ AGRON Stats August 03, 2020 In this post, you will learn how to import data, fit analysis of variance model, make comparison of treatments using LSD test and finally visualizing data by plotting bar graphs with standard error bars and placing alphabets from mean LSD test on top of error bars.  Introduction Importing data file Fit analysis of variance model LSD mean comparison test Original order of groups (for lettering) Visualizing effects Plotting genotypes Plotting gender Plotting interaction Introduction You will learn how to visualize bar graph for main and interaction effects using R studio. I shall use two way analysis of variance technique to fit a model for the given data set. Least significant difference test will be applied for mean comparisons. Bar graphs will be plotted using the alphabets from group component of LSD test to place just above the error