[19116] in s-news-athena
[S] Plotting components of dataframes.
daemon@ATHENA.MIT.EDU (Rolf Turner)
Sun Sep 5 14:18:17 1999
Date: Sun, 5 Sep 1999 15:13:27 -0300 (ADT)
From: Rolf Turner <rolf@math.unb.ca>
Message-Id: <199909051813.PAA16591@tanner.math.unb.ca>
To: thomas.wu@stanford.edu
Cc: Paul.Schwarz@cornell.edu, s-news@wubios.wustl.edu
Your solution doesn't work --- it will only plot the component of
``mydataframe'' which is literally named ``y''. The argument y to
the function plotit() is ignored.
You could get around this by using paste(), (and making sure that
the argument y is a ***character string***) but it's easier and
more flexible to use the df[[ ]] syntax.
cheers,
Rolf Turner
rolf@math.unb.ca
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news