I am trying to create a stacked bar plot but having no luck. Unfortunately I am unable to figure out how to post the dataframe, and am a new user so cannot post images. I have given the layout of the data below. I wish to plot fauceted graphs by Location, with x as.factor(Time), Y as %, with bars need to be paired by Group and filled by the mean of each E,T,P, showing standard error bars. While I have had luck plotting single values as points, I am unable to plot as stacked bars. Appreciate the help.
Location Group Time Mean E Mean T Mean P SE E SE T SE P
Farm T 48 0.52 0.02 0.47 0.29 0.07 0.29
Farm C 48 0.37 0.03 0.61 0.28 0.09 0.28
Farm T 24 0.59 0.01 0.40 0.28 0.06 0.28
Farm C 24 0.56 0.01 0.43 0.29 0.05 0.29
Farm T 0.5 0.56 0.01 0.43 0.29 0.04 0.29
Farm C 0.5 0.35 0.01 0.64 0.28 0.05 0.28
Pristine T 48 0.46 0.03 0.52 0.29 0.10 0.29
Pristine C 48 0.43 0.02 0.55 0.29 0.08 0.29
Pristine T 24 0.43 0.02 0.55 0.29 0.08 0.29
Pristine C 24 0.26 0.04 0.71 0.25 0.11 0.26
Pristine T 0.5 0.52 0.03 0.45 0.29 0.09 0.29
Pristine C 0.5 0.33 0.03 0.65 0.27 0.09 0.28