Re: [R] Grep with wildcards across multiple columns

2013-03-15 Thread Bush, Daniel P. DPI
-project.org' Subject: [R] Grep with wildcards across multiple columns I have a fairly large data set with six variables set up like the following dummy: # Create fake data df - data.frame(code = c(rep(1001, 8), rep(1002, 8)), year = rep(c(rep(2011, 4), rep(2012, 4)), 2

Re: [R] Grep with wildcards across multiple columns

2013-03-15 Thread arun
To: 'r-help@r-project.org' Subject: [R] Grep with wildcards across multiple columns I have a fairly large data set with six variables set up like the following dummy: # Create fake data df - data.frame(code  = c(rep(1001, 8), rep(1002, 8)),                   year  = rep(c(rep(2011, 4), rep

[R] Grep with wildcards across multiple columns

2013-03-14 Thread Bush, Daniel P. DPI
I have a fairly large data set with six variables set up like the following dummy: # Create fake data df - data.frame(code = c(rep(1001, 8), rep(1002, 8)), year = rep(c(rep(2011, 4), rep(2012, 4)), 2), fund = rep(c(10E, 10E, 10E, 27E), 4),

Re: [R] Grep with wildcards across multiple columns

2013-03-14 Thread arun
, there is only value of obj. levels(df$obj) #[1] 100 A.K. - Original Message - From: Bush, Daniel P. DPI daniel.b...@dpi.wi.gov To: 'r-help@r-project.org' r-help@r-project.org Cc: Sent: Thursday, March 14, 2013 5:43 PM Subject: [R] Grep with wildcards across multiple columns I have

Re: [R] Grep with wildcards across multiple columns

2013-03-14 Thread William Dunlap
...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Bush, Daniel P. DPI Sent: Thursday, March 14, 2013 2:43 PM To: 'r-help@r-project.org' Subject: [R] Grep with wildcards across multiple columns I have a fairly large data set with six variables set up like the following