Skip to content
Prev 78945 / 398502 Next

apply and plot

R-help,

I use the code below to plot some data by applying "apply" function.
But I don't know how I can get the argument "type" or "col" on the
"plot" function to distinguish the different lines
in the graph:

apply ( my.data, 2, function ( x ) lines ( dimnames ( my.data ) [[1]] ,
x ) )


Thank you in advance