search for: folderol

Displaying 3 results from an estimated 3 matches for "folderol".

Did you mean: folder
2009 May 04
1
help_if command_new column
Hi everyone, Do you know how to apply a If command to a vector in a data.frame, creating a new column? Example: If one species has "1" value in the Abundance column then it is "Solitary". If the abundance is higher than 1, is "School". I did: aggregationFunction <-function(x){ (if (x>1) a<- 'School' else a<-
2009 Sep 02
5
Serial port problem
Since about v0.9 I've been unable to get wine to reliably receive characters on the serial port. Sending is fine. The latest version I've tried is 1.1.23, and this always loses the first two characters of a line, then randomly loses some of the later ones. Is anyone else seeing the problem? It's an absolute show-stopper for me because the only Windows software I use needs serial coms
2009 May 05
1
self organizing map advice for categorical data
...93E6C26-52CB-42B2-B4E2-D97FEE5B5D49 at comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes You should be looking at the ifelse function. Ihe if and else constructs are not appropriate for recoding because they do not return vectors. Much easier than all that folderol would be: df$Aggregation <- ifelse( df$Number>1, "School", "Solitary") On May 4, 2009, at 12:31 PM, barbara horta e costa wrote: > Hi everyone, > > Do you know how to apply a If command to a vector in a data.frame, > creating > a new column? > >...