Re: [R] how to create a txt file with parsed columns

2019-12-08 Thread Jim Lemon
Hi Ana, Is this what you want? a<-read.table(text="GENErs BETA 1 ENSG0154803 rs2605134 0.0360182 2 ENSG0154803 rs7405677 0.0525463 3 ENSG0154803 rs7211573 0.0525531 4 ENSG0154803 rs2746026 0.0466392 5 ENSG0141030 rs2605134 0.0806140 6 ENSG0141030 rs

[R] how to create a txt file with parsed columns

2019-12-08 Thread Ana Marija
Hello, I have two data frames: head(a) GENErs BETA 1 ENSG0154803 rs2605134 0.0360182 2 ENSG0154803 rs7405677 0.0525463 3 ENSG0154803 rs7211573 0.0525531 4 ENSG0154803 rs2746026 0.0466392 5 ENSG0141030 rs2605134 0.0806140 6 ENSG0141030

Re: [R] [FORGED] Re: R commander (Rcmdr) won't start [SOLVED]

2019-12-08 Thread Rolf Turner
On 8/12/19 9:35 pm, gabriele pallotti wrote: Dear John, thank you for your prompt reply. An inexperienced user like me tends to see the .Rdata folder like the document folder for other programs, and, as one doesn't have to delete the document folder when updating Libreoffice, tends to think th

Re: [R] R commander (Rcmdr) won't start [SOLVED]

2019-12-08 Thread Fox, John
Dear Gabriele, > On Dec 8, 2019, at 3:35 AM, gabriele pallotti wrote: > > Dear John, > thank you for your prompt reply. An inexperienced user like me tends to see > the .Rdata folder like the document folder for other programs, and, as one > doesn't have to delete the document folder when upd

Re: [R] Plotting confidence intervals

2019-12-08 Thread phil
Thanks so much Jim. Yes, this is giving me what I want. Philip On 2019-12-08 05:00, Jim Lemon wrote: Hi Philip, This may be a starter: attach(airquality) heights <- tapply(Temp,Month,mean) temp_sd<-tapply(Temp,Month,sd) lower <- tapply(Temp,Month,function(v) t.test(v)$conf.int[1]) upper <- tap

Re: [R] Plotting confidence intervals

2019-12-08 Thread Jim Lemon
Hi Philip, This may be a starter: attach(airquality) heights <- tapply(Temp,Month,mean) temp_sd<-tapply(Temp,Month,sd) lower <- tapply(Temp,Month,function(v) t.test(v)$conf.int[1]) upper <- tapply(Temp,Month,function(v) t.test(v)$conf.int[2]) library(plotrix) barp(heights,ylim=c(0,100),names.arg=m

Re: [R] Plotting confidence intervals

2019-12-08 Thread phil
Thanks for these helpful suggestions. These options don't work in my case because I don't know the individual observations (the dots). A statistical agency collects the observations and keeps them confidential. It provides the mean value and the standard deviation, plus the fact that the obser

Re: [R] R commander (Rcmdr) won't start [SOLVED]

2019-12-08 Thread gabriele pallotti
Dear John, thank you for your prompt reply. An inexperienced user like me tends to see the .Rdata folder like the document folder for other programs, and, as one doesn't have to delete the document folder when updating Libreoffice, tends to think the same for R. But let me take the opportunity to e