Re: [R] calculate value in dependence of target value

2015-03-09 Thread David L Carlson
gt; 1. All of the VALUEs are greater than the target of 100 2. Your description > of what you want does not match your example. > > Perhaps VALUE should be divided by 1000 (e.g. not 1, but 10)? > Perhaps your targets do not apply to VALUE, but to cumulative VALUE? > > -

Re: [R] calculate value in dependence of target value

2015-03-09 Thread Jeff Newmiller
Perhaps your targets do not apply to VALUE, but to cumulative VALUE? - David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message----- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of

Re: [R] calculate value in dependence of target value

2015-03-09 Thread David L Carlson
M To: r-help@r-project.org Subject: [R] calculate value in dependence of target value Hello together, i have a litte problem. Maybe anyone can help me. I have to calculate a new column in dependence of a target value. As a example: My target value is 100.000 At the moment I have a data.frame

Re: [R] calculate value in dependence of target value

2015-03-09 Thread Matthias Weber
David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Matthias Weber Sent: Monday, March 9, 2015 7:46 AM To: r-help@r-project.org Subject: [R] calculate value in d

[R] calculate value in dependence of target value

2015-03-09 Thread Matthias Weber
Hello together, i have a litte problem. Maybe anyone can help me. I have to calculate a new column in dependence of a target value. As a example: My target value is 100.000 At the moment I have a data.frame with the following values. IDVALUE 1 111 2 125 3 1330