[R] Fwd: non-conformable arguments

2015-03-31 Thread Soheila Khodakarim
Dear All, I want to run neural network on my data. i run these codes: #load mydata dim(mydata) # 20 3111 library(neuralnet) fm <- as.formula(paste("resp ~", paste(colnames(mydata)[1:3110], collapse="+"))) out <- neuralnet(fm,data=mydata, hidden = 4, lifesign = "minimal", linear.output = FALSE, t

[R] Fwd: non-conformable arguments

2015-03-30 Thread Soheila Khodakarim
Dear Thierry Onkelinx, Thank you so much to answer me. But I do not know what information I should send for you I want to run neural network on my data.I run these codes and I saw this Error in the last line #load mydata dim(mydata) # 20 3111 library(neuralnet) fm <- as.formula(paste("resp ~", pa

[R] non-conformable arguments

2015-03-30 Thread Soheila Khodakarim
Dear All, I want to run neural network on my data. i run these codes: #load mydata dim(mydata) # 20 3111 library(neuralnet) fm <- as.formula(paste("resp ~", paste(colnames(mydata)[1:3110], collapse="+"))) out <- neuralnet(fm,data=mydata, hidden = 4, lifesign = "minimal", linear.output = FALSE, t

[R] Fwd: Fwd: missing in neural network

2015-03-25 Thread Soheila Khodakarim
I am very grateful Dear Charles. Soheila [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-projec

Re: [R] Fwd: missing in neural network

2015-03-25 Thread Soheila Khodakarim
colnames(mydata)[, 1:3110] : incorrect number of dimensions :((( AND fm <- as.formula(paste(colnames(mydata)[,3111], paste(colnames(mydata)[,1:3110], collapse="+"))) > Error in colnames(mydata)[, 3111] : incorrect number of dimensions Best, Soheila On Wed, Mar 25, 2015 at 11:1

[R] Fwd: missing in neural network

2015-03-24 Thread Soheila Khodakarim
se variable to your data set. > mydata <- cbind(data, resp) > > # Run neuralnet > out <- neuralnet(resp ~ ., data=mydata, hidden = 4, lifesign = "minimal", >linear.output = FALSE, threshold = 0.1,na.rm = > TRUE) > > > Best, > C

[R] missing in neural network

2015-03-24 Thread Soheila Khodakarim
Dear All, I want to run "neural network" on my dataset. ## resp<-c(1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1) dim(data) #20*3110 out <- neuralnet(y ~ data, hidden = 4, lifesign = "minimal", linear.output = FALSE, threshold = 0.1,na.rm = TRUE)

[R] cut point in ROC

2012-10-25 Thread Soheila Khodakarim
var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 gold 2 3 1 2 4 0 1 4 4 3 2 2 4 2 4 3 4 2 4 4 4 2 3 3 0 0 4 1 0 2 4 4 2 1 4 0 3 2 0 0 2 4 4 2 3 4 0 2 2 0 0 0 3 4 2 2 2 3 2 2 0 0 0 2 4 2 2 4 1 1 2 0 0 3 3 3 2 3

[R] error im install R

2012-05-27 Thread Soheila Khodakarim
Dear All I install Rstudio in centos, but I cannot run it, I saw this error: Stopping rstudio-server: [ OK ] rserver[16661]: ERROR Unable to find libR.so in expected locations within R Home directory /usr/local/lib/R; LOGGED FROM: bool core::r_utildetectRLoc

[R] linux

2012-05-27 Thread Soheila Khodakarim
Dear All Pleade give me an URL that I can download R for cenos linux 64 bit. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-pr

[R] transform 1 col to 2 col

2012-05-24 Thread Soheila Khodakarim
Dear All How can I transform 1 column to 2 columns in R? 211217_s_at GO:0005249 211217_s_at GO:0005251 211217_s_at GO:0005515 211217_s_at GO:0015271 211217_s_at GO:0030955 211217_s_at GO:0005249 211217_s_at GO:0005251 211217_s_at GO:0005515 211217_s_at GO:0015271

[R] linux

2012-05-23 Thread Soheila Khodakarim
Dear All I can not download R for Linux. I do not know which file I should install? Best Regards, Soheila __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posti

Re: [R] median teat

2012-05-12 Thread Soheila Khodakarim
Thank you so much. But I can not open this link, rseek.org:( Best Regards, Soheila On Sat, May 12, 2012 at 2:40 PM, Sarah Goslee wrote: > Hi, > > On May 12, 2012, at 5:23 AM, Soheila Khodakarim > wrote: > > > Dear All > > > > Is there any function for

Re: [R] median teat

2012-05-12 Thread Soheila Khodakarim
--- > Contact me: tal.gal...@gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > > ---------- &g

[R] median teat

2012-05-12 Thread Soheila Khodakarim
Dear All Is there any function for "median test" in R? Best Regards, Soheila [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-p

Re: [R] arrangement

2012-04-16 Thread Soheila Khodakarim
Hi David, Thanks a lot for your help. But unfortunately I can not understand your mean:( Could you explain more for me? Best Wishes, Soheila On Tue, Apr 17, 2012 at 1:55 AM, David Winsemius wrote: > > On Apr 16, 2012, at 5:19 PM, Soheila Khodakarim wrote: > > Dear All >

[R] arrangement

2012-04-16 Thread Soheila Khodakarim
Dear All I want to arrange our output in 3 columns in R. Example: N 0432003010 00514 00604 0056303430 03022 V 22.00 0.00e+00 15.000 15. 13. 1.30e+01 51.000 p 0.640625 2.910383e-11 0.4257812 0.4375 0.6875 3.356934e-04 0.2434998

[R] error in fitdistr

2012-02-23 Thread Soheila Khodakarim
Hi dear, I want to estimate d.f for Chi-squared distribution: est.chi[i,]<-c( fitdistr(as.numeric(data2[,i]),"chi-squared",start=list(df=1))$estimate)Warning message:In optim(x = c(7.86755, 7.50852, 7.86342, 7.70589, 7.70153, 7.58272, : one-diml optimization by Nelder-Mead is unreliable: use "

[R] (subscript) logical subscript too long in using apply

2012-02-17 Thread Soheila Khodakarim
Dear ALL I have this function in R: func_LN <- function(data){ med_ge <- matrix(c(rep(NA,nrow(data)*ncol(data))), nrow = nrow(data), ncol=ncol(data), byrow=TRUE) T <- matrix(c(rep(NA,length(n)*ncol(data))), nrow = length(n), ncol=ncol(data), byrow=TRUE) Tdiff<- matrix(c(rep(NA,length(n)*ncol(da

[R] error

2012-02-15 Thread Soheila Khodakarim
Dear All, I have a function that it works in all of data. dim(data) 24(sample) 2600(variable) data [1][2] [3] [4] ... [2600] [1] 10.73140 9.89450 9.12233 8.33994 9.43412 [2] 10.58010 10.02023 8.69257 8.46640 9.05038 [3] 10.80644 9.59991 8.71311 8.64168 9.083

[R] question

2012-02-14 Thread Soheila Khodakarim
I have this matrix in R, s1 s2 s3 s4 g1 1 0 0 0 g1 0 1 0 0 g1 0 0 1 0 g2 1 0 0 0 g2 0 1 0 0 g3 1 0 0 0 g4 0 0 1 0 g4 1 0 0 0 g4 0 1 0 0 g4 0 0 0 1 I want to split this matrix based on its rows then sum based on columns, finally I want to make this matr

[R] see NA

2012-02-13 Thread Soheila Khodakarim
Dear All I want to chose just spacial columns in R. (read table) data1<- read.table("/home/Documents/data.txt",header=F,sep = "\t", as.is =F) data.2<-data1[sub.data[,1],] The dimension of data.2 is correct but my data are transformed NA head(data.2) V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12

[R] show plot

2012-01-20 Thread Soheila Khodakarim
Dear All I have 54000 plots in R, How can I observe them? If I‌ have to save them one-by-one? Soheila [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the