| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | a simple question--How to select subset of Dataframe in S-Plus |
| From: | "Liu Zhigang" <email.lzg@gmail.com> |
| Date: | Mon, 29 May 2006 17:35:55 +0800 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=g1J/qC8D/K/48MzfbGqsZs9Iwv3cG/OKdyZQtv06bA8qF+C2Zvk/kZFy5Hc17+Ylgi75eVTLbY5NWr+1LyhoFguWFAdGf/YT2SCVEda3c6FdtzDKQo3t0q0USj4UJpIHRFLFWht4iAYBLoN/BKFEe2xBOevCmJkPCPUP1YXEV3A= |
|
In SAS, I can use " if " to select my wanted observations.
For example, I want to select the obs satisfy the condition of x>0 and y<0 (where x and y are variable in a dataset. )
and operate with this subset.In SAS I can do if use following command:
[ If x>0 and y<0; ]
But who can tell me how to make this select in S_Plus.
Thank you!
Liu zhigang
Jilin University
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: about S-plus graph, Dimitris Rizopoulos |
|---|---|
| Next by Date: | Re: a simple question--How to select subset of Dataframe in S-Plus, Jonathan Dakin |
| Previous by Thread: | about S-plus graph, Liu Zhigang |
| Next by Thread: | Re: a simple question--How to select subset of Dataframe in S-Plus, Jonathan Dakin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |