Re: [R] Converting CSV file to numeric and calculate ttest

2015-09-03 Thread shawin
what is F? > > F>2 & F<2 > this is FALSE for all values of F > > What value you want to extract? All rows corresponding to condition or > just values from specific column. > > For selection values you can use e.g. [ > data(iris) > sel<-iris$Sepal.Width>4

Re: [R] Converting CSV file to numeric and calculate ttest

2015-09-03 Thread shawin
Dear Petr, This code does not work ? For selection values you can use e.g. [ data(iris) sel<-iris$Sepal.Width>4 iris[sel,] or iris[sel, c(1,3,5)] the data is csv file which is : FCPval <- read.csv("C:/Users/shawin/Desktop/RProgramms/RAdipose/FCPval.csv") ; Fc2<-(FCP

Re: [R] Converting CSV file to numeric and calculate ttest

2015-09-03 Thread shawin
lp [mailto:[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4711784&i=0>] On Behalf Of > shawin > > Sent: Wednesday, September 02, 2015 9:08 PM > > To: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=4711784&i=1> > > Subj

Re: [R] Extracting column value from csv file according to if else and & operator

2015-09-03 Thread shawin
.603745 > 9.944864 9.950428 10.19102 10.07351 10.0327 10.13079 > Fc p > 1.037883 0.320095 > 1.057708 0.060132 > 1.065191 0.92 > > > > I tried the code bellow but , it does not work? > > FCPval <- > read.csv("C:/Users/shawin/Desktop/RProgramms/RAdipose/

Re: [R] reading files with name columns and row columns

2015-09-02 Thread shawin
dear William , I have an issue with R code which is : FCP<-as.matrix(sapply(FCPval,as.numeric)) for (i in 1:rowN){if (FCP$FC[i] >= 1.5 & FCP$FC[i]<=-1.5 & FCP$p[i]<=0.05){ dfrmPFC=data.frame(matrix(Fc=FC,p=p))} } the error is :Error in FCP$FC : $ operator is invalid for atomic vectors could you

Re: [R] reading files with name columns and row columns

2015-09-02 Thread shawin
also the header =0 On Wed, Sep 2, 2015 at 11:52 PM, Shawin Karim wrote: > make row.name=0 instead to 1 > > On Wed, Sep 2, 2015 at 11:07 PM, Bogdan Tanasa [via R] < > ml-node+s789695n4711774...@n4.nabble.com> wrote: > >> Dear all, >> >> would appreciate a

Re: [R] Converting CSV file to numeric and calculate ttest

2015-09-02 Thread shawin
01 > 9.310644266 9.27227486 9.360337823 9.44706281 > 1367455_at 9.944863964 9.950427516 10.19101759 10.07350804 10.03269879 > 10.1307908 10.03487287 9.74609383 9.886379007 9.775472567 10.036596 > 9.544738458 9.699611598 9.911962567 9.625804277 > AT1 <- > r

Re: [R] Median on second group of CSV file produce Na

2015-09-01 Thread shawin
015 08:57, Navien wrote: > > > Dear Michael , > > > > Thank you very much for your reply , kindly please can i send you the > > program and data please , y is shown a normal csv file no issue with it > :( > > > > > > Kind Regards > > > > On

Re: [R] Median on second group of CSV file produce Na

2015-08-31 Thread shawin
I have an issue ans i posted it , so i would like to receive a solution please On Mon, Aug 31, 2015 at 8:35 PM, shawin [via R] < ml-node+s789695n4711689...@n4.nabble.com> wrote: > I have a data frame csv file and I'm trying to calculate median for each > group separately ro