Sorry for the dumb question but I believe I've honestly tried all other
avenues I'm aware of (short of adding a few neurons !). I'm using S-PLUS
4.5 on a pc-clone running NT 4.0.
I can't for the life of me figure out how to perform the trivial task of
extracting a subset from a data frame based on the value of a character
field, e.g. if I have a table like:
name x y
0 lucy 0.1 30.0
1 lucy 0.2 22.0
2 lucy 0.12 50.2
3 desi 0.5 61.3
4 desi 0.4 50.3
5 fred 0.41 55.2
6 ethel 0.2 31.3
7 ethel 0.3 44.2
which I've read in successfully with read.table() how do I plot y vs. x
for name = 'lucy' only (I'd eventually like to also do things like
regressions for x and y for lucy only) ?
I've scoured the online documentation, the FAQ that I found, and the
book
by Venables and Ripley. I'm sure the information is there, but
apparently not
for an S-PLUS challenged neophyte like me. Thanks for any tips,
-- KY
Karl Young
UCSF,VA Medical Center
MRS Unit (114M)
4150 Clement Street
San Francisco, CA 94121
Email: kyoung@itsa.ucsf.edu
Phone: (415) 750-2158 lab
(415) 750-9463 home
FAX: (415) 668-2864
-----------------------------------------------------------------------
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
|