Re: [R] Reassign values based on multiple conditions

2013-03-15 Thread David L Carlson
-- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of John Kane > Sent

Re: [R] Reassign values based on multiple conditions

2013-03-15 Thread John Kane
d(testfile, 100)) will be sufficient. Sorry I'm not more helpful John Kane Kingston ON Canada > -Original Message- > From: cat.e.co...@gmail.com > Sent: Fri, 15 Mar 2013 12:46:13 +0800 > To: r-help@r-project.org > Subject: [R] Reassign values based on multiple co

[R] Reassign values based on multiple conditions

2013-03-14 Thread Cat Cowie
Hi all, I have a simple data frame of three columns - one of numbers (really a categorical variable), one of dates and one of data. Imagine: collar date data 1 01/01/2013 x 2 02/01/2013 y 3 04/01/2013 z 4 04/01/2013 a 5 07/01/2013 b The 'collar' is a GPS collar that's been worn by an animal fo