dataframe column component region, x1 mean, x2 mean, x1 se, x2 se.
I want changed dataframe for line graph (ggplot)
finally, i make column region, part, mean, se. (part is new column)
how to use code ?
#data.frame = temp
region x1 x2 y1 y2
A 1 2 0.1 0.2
B 3 4 0.3 0.2
#modified data.frame
region part mean se
A x1 1 0.1
A X2 2 0.2
B X1 3 0.3
B X2 4 0.2
please help me..