s-news
[Top] [All Lists]

basic inquiry: "select if"

To: s-news@lists.biostat.wustl.edu
Subject: basic inquiry: "select if"
From: Emil Coman <emilcoman@yahoo.com>
Date: Mon, 22 May 2006 09:16:00 -0700 (PDT)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Fad7crphX2giCKBs2Ur1M/fO5z40BZ7RqK9G33wB8um2/lZo4+7Gqz704pe4GsbHRLYaj5OaYz70YgEMgqQw3Vl9nXESozqoiuZK3r8bE6G/dSvKnP7CEKgynTKd8OQBGMSQ6/o3LYP2Bad7MWeaY3UyIiZltUooGw0IOLVtrc4= ;
this is my first question posted here, and I'm a beginner with S-Plus, so bear with me...

I am trying to run some analyses, any, say a
lm(Y~ X+ Z)
or
gee(formula = (formula = Y~ X+ Z), cluster = W, variance = "glm.scale")
but only for a sub-group of my dataset, say for males only; I know in SPSS there is a command "select if (gender=1)" e.g., but does anyone know the S-Plus similar command? thanks a lot,
Emil Coman, Statistician 
Institute for Community Research
2 Hartford Square West, Suite 100
Hartford, CT. U.S.A. 06106
Tel: 860-278-2044, ext. 257
www.incommunityresearch.org
Fax: 1-860-278-2141
http://sp.uconn.edu/~enc01003


Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice
<Prev in Thread] Current Thread [Next in Thread>
  • basic inquiry: "select if", Emil Coman <=