search for: columnb

Displaying 5 results from an estimated 5 matches for "columnb".

Did you mean: column
2011 Mar 02
2
how to simplify a data.frame and add the counts of duplicate rows as a new column
Hello List, I would like to simplify a data.frame like this columnA columnB user10 proj12 user10 proj19 user10 proj12 into something like: columnA columnB columnC user10 proj12 2 user10 proj19 1 I know unique() can simplify the data.frame, but how to count and store the duplicates? thanks in advance for any help. best regards, Simone
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
Hi, set.seed(45) test1<-data.frame(columnA=rnorm(7,45),columnB=rnorm(7,10)) #used an example probably similar to your actual data apply(test1,2,function(x) sprintf("%.1f",median(x))) #columnA columnB # "44.5"? "10.2" par(mfrow=c(1,2)) lapply(test1,function(x) {b<- boxplot(x,range=0,horizontal=TRUE);mtext(sprintf("%.1f&qu...
2009 Jul 12
2
Nonlinear Least Squares nls() programming help
...the coefficients, which I don't believe Excel Solver does. I'm new to nonlinear optimization, so please forgive any obvious things I've overlooked. Thank you very much for taking a look! Here is the R code, and error message: ColumnA.data<-read.csv(file.choose()) #select ColA.csv ColumnB.data<-read.csv(file.choose()) #select ColB.csv ColumnC.data<-read.csv(file.choose()) #select ColC.csv colA<-ColumnA.data[0:3600,] colB<-ColumnB.data[0:3600,] colC<-ColumnC.data[0:3600,] i<-1:3600 cor.model<-nls(colC ~ exp( - beta2 * abs( colB[i] - colA[i] ) / 12 ) - ( 1 - exp...
2009 Sep 15
3
how to load only lines that start with a particular symbol
Dear all, I have DNA sequence data which are fasta-formatted as >gene A;..... AAAAACCCC TTTTTGGGG CCCTTTTTT >gene B;.... CCCCCAAAA GGGGGTTTT I want to load only the lines that start with ">" where the annotation information for the gene is contained. In principle, I can remove the sequences before loading or after loading all the lines. I just wonder if there's a way to
2006 Mar 30
9
Getting data from multiple controllers (Newbie question)
Hello, Assuming I have the following setup for one page: <column A><data from controller 1 /> </columnA> <column B><data from controller 2 /> </columnB> <column C><data from controller 3 /> </columnC> Assuming the page is created for Controller 2, what would be the best way(s) to gather/render the data from the other controllers? Best regards and thanks for your insight Fred -- Posted via http://www.ruby-forum.com/.