Skip to content
Back to formatted view

Raw Message

Message-ID: <s34e7456.043@ffdata.setur.fo>
Date: 2005-10-13T13:50:54Z
From: Luis Ridao Cruz
Subject: 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