search for: bawan03

Displaying 2 results from an estimated 2 matches for "bawan03".

Did you mean: banana3
2009 Dec 10
1
incorrect multiple outputs
HI, I'm having trouble with a piece of Rscript which keeps outputting incorrectly. it's something like this: the code reads in from a file which contains (reformated) input >file<-read.table(file="input_file.txt",sep="\t")[,c(1,3:5)] > >file.rows<- c(nrow(file)/288) # "input_file.txt" contains 288 reformatted lines for each original data file
2010 Feb 01
1
assigning 'default' values
Hi all, probably something really simple, that I've missed but I'm running this loop in my Rscript: <code> for (i in 1:nrow(cells)){ if(plate == as.character(cells[i,1])){ plate2 <-cells[i,2]} } <code> it's assigning the relevant data correctly as long as plate exists somewhere in cells[i,1]. The problem is that if it doesn't exist then it retains the