Re: [R] Substitute problem

2008-10-23 Thread Chris82
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] Substitute problem Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with thei

Re: [R] Substitute problem

2008-10-23 Thread Chris82
Thanks! Works fine! jholtman wrote: > > Had the test wrong in the last one' try this: > >> x > X value row col ID n > 1 1 11.105009 5511625 3463000 1 -619.1125 > 2 2 10.324148 5499625 3465000 01. > 3 3 8.744591 5503625 3475000 01. > 4 4 9.523473 549

Re: [R] Substitute problem

2008-10-22 Thread jim holtman
Had the test wrong in the last one' try this: > x X value row col ID n 1 1 11.105009 5511625 3463000 1 -619.1125 2 2 10.324148 5499625 3465000 01. 3 3 8.744591 5503625 3475000 01. 4 4 9.523473 5494625 3475000 3 -578.2354 5 5 8.856097 5507625 348 4

Re: [R] Substitute problem

2008-10-22 Thread jim holtman
Will this do it for you: > x X value row col ID n 1 1 11.105009 5511625 3463000 1 -619.1125 2 2 10.324148 5499625 3465000 01. 3 3 8.744591 5503625 3475000 01. 4 4 9.523473 5494625 3475000 3 -578.2354 5 5 8.856097 5507625 348 4 -619.1125 6 6 8.6368

[R] Substitute problem

2008-10-22 Thread Chris82
hello R users, I didn't find a solution for a special problem. I have two dataframes. dataframe1: Xvalue row col ID 1 8.973498062 5512625 346 1 2 11.656658570 5501625 3464000 2