[R] Multi-line graph?
barnhillec
info at cognitive-eurhythmics.com
Fri Oct 15 19:27:19 CEST 2010
Hi,
I am relatively new to R but not to graphing, which I used to do in Excel
and a few other environments on the job. I'm going back to school for a PhD
and am teaching myself R beforehand. So I hope this question is not
unacceptably ignorant but I have perused every entry level document I can
find and so far I'm out of luck.
I'm trying to graph some simple music psychology data. Columns are musical
intervals, rows are the initials of the subjects. Numbers are in beats per
minute (this is the value at which they hear the melodic interval split into
two streams). So here's my table:
Tenth Fifth Third
GG 112 152 168
EC 100 120 140
SQ 160 184 NA
SK 120 100 180
I want a multi-line graph where the intervals are on the X axis, and the y
axis is the beats per minute, and each subject has a different line. In
Excel this would be no problem but I am having trouble in R.
The only way I can figure out how to plot this in R is if the columns or
rows are taken as variables. But the variable is beats per minute. Any
suggestions?
I appreciate the help. -Eric
--
View this message in context: http://r.789695.n4.nabble.com/Multi-line-graph-tp2997402p2997402.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list