Re: [R] assigning global columns selection for all subset functions in script

2013-06-12 Thread bcrombie
Thanks, David. I appreciate your help. Your solution is the idea I also had but wasn't quite sure if it was allowed in this case. That's a simple fix. Burnette From: David Winsemius [via R] [mailto:ml-node+s789695n4669295...@n4.nabble.com] Sent: Tuesday, June 11, 2013 5:31 PM To: Crombie, Bur

Re: [R] assigning global columns selection for all subset functions in script

2013-06-12 Thread bcrombie
gt; To: [hidden email] > Subject: [R] assigning global columns selection for all subset functions > in script > > How do I let R know that I always want to select the same columns in my > subset functions (below), so that I don't have to keep copy/pasting the > same >

Re: [R] assigning global columns selection for all subset functions in script

2013-06-11 Thread John Kane
013 09:18:25 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] assigning global columns selection for all subset functions > in script > > How do I let R know that I always want to select the same columns in my > subset functions (below), so that I don't have to keep

Re: [R] assigning global columns selection for all subset functions in script

2013-06-11 Thread David Winsemius
On Jun 11, 2013, at 9:18 AM, bcrombie wrote: > How do I let R know that I always want to select the same columns in my > subset functions (below), so that I don't have to keep copy/pasting the same > selection? (thanks) > devUni2 <- subset(devUni1, dind02 != 52, > select=c(paidhre,earnhre,e

[R] assigning global columns selection for all subset functions in script

2013-06-11 Thread bcrombie
How do I let R know that I always want to select the same columns in my subset functions (below), so that I don't have to keep copy/pasting the same selection? (thanks) devUni2 <- subset(devUni1, dind02 != 52, select=c(paidhre,earnhre,earnwke,uhourse,hourslw,otc,ind02,dind02,occ00,docc00,lf