I'm trying to use ggplot2 to create a line graph with factors and several dependent variables. The dataframe is structured like this:
Group Time DVName Mean SE
I'd like to produce a line graph in which x=Time, y=Mean, colour=DVName, and linetype=Group. When I try filling these in, however, I get odd results in which some of the datapoints are connected vertically rather than horizontally. I've also noticed that the order in which I input my dataset makes a difference in the look of the graph (sorting by Group produces a graph different from sorting by Time).
Any help out there?
Cheers! D