Re: [R] detecting measurement of specific id in column in R

2018-11-28 Thread John Kane via R-help
No attached file. R-help is very fussy about what kind of file it will accept, A txt or pdf is the best bet. On the other hand it usually is best to include any code and sample data in the actual e-mail.  Use the function dput() as the best way to supply data. On Thursday, November 22,

Re: [R] detecting measurement of specific id in column in R

2018-11-23 Thread PIKAL Petr
heers Petr > -Original Message- > From: R-help On Behalf Of Jim Lemon > Sent: Thursday, November 22, 2018 11:34 PM > To: ro.rehsc...@googlemail.com > Cc: r-help mailing list > Subject: Re: [R] detecting measurement of specific id in column in R > > Hi Vicci, > It's

Re: [R] detecting measurement of specific id in column in R

2018-11-23 Thread Romy Rehschuh via R-help
Dear all, dear Jim, thanks so much for your efforts! The code seems to work well :) All the best, Vicci Am Do., 22. Nov. 2018 um 23:34 Uhr schrieb Jim Lemon : > Hi Vicci, > It's very clunky, but I think it will do what you want. > rrdf<-read.csv(text="No,date,chamber,d13C,ppm_CO2,ppm_13CO2 >

Re: [R] detecting measurement of specific id in column in R

2018-11-22 Thread Jim Lemon
Hi Vicci, It's very clunky, but I think it will do what you want. rrdf<-read.csv(text="No,date,chamber,d13C,ppm_CO2,ppm_13CO2 1,10.14.2018 10:43 PM,IN,-0.192,439.6908,4.9382 2,10.14.2018 10:47 PM,101,-0.058,440.7646,4.9509 3,10.14.2018 10:50 PM,103,-1.368,535.6602,5.9967 4,10.14.2018 10:53

Re: [R] detecting measurement of specific id in column in R

2018-11-22 Thread Romy Rehschuh via R-help
Dear all, if the attachment didn´t arrive, maybe it works now. I would like to substract the "IN" values (= the air which goes into the chambers) for "d13C", "ppm_CO2" and "ppm_13CO2" from the "d13C", "ppm_CO2" and "ppm_13CO2" for every single chamber. I need to substract the "IN" values which

Re: [R] detecting measurement of specific id in column in R

2018-11-22 Thread Bert Gunter
Jeff's advice is sound, but as I have a bit of time on my hand, I'll take a guess at it. If it's wrong, then follow Jeff's advice so that we don't have to continue to guess -- and do as he describes in any future posts, of course. Note also that the mail server strips off attachments (except for a

Re: [R] detecting measurement of specific id in column in R

2018-11-22 Thread Rui Barradas
Hello, No attachment arrived. R-help allows only a limited number of file types to be attached, if you file is a text file, change its extension to .txt an try again, please. Hope this helps, Rui Barradas Às 09:33 de 22/11/2018, Romy Rehschuh via R-help escreveu: Dear all, I hope this is

Re: [R] detecting measurement of specific id in column in R

2018-11-22 Thread Jeff Newmiller
You hope... but no... not really. You need to enhance your question with a (minimal) example of the data just after importing into R, and another example of what you think the result should look like. Also, you should provide your current best guess at what a calculation would include expressed