Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Is there any built-in way to lexicographically compare two vectors of the same length in R? The textbook algorithm could be coded as follows: lex.cmp <- function (vec1,vec2) { for (j in 1:length(vec1)) { if (vec1[j] < vec2...
There is a new book on (Perl and) R for computational biology, G. Valiente. Combinatorial Pattern Matching Algorithms in Computational Biology using Perl and R. Taylor & Francis/CRC Press (2009) http://www.crcpress.com/product/isbn/9781420063677 I hope it...
Deleting a row from a matrix turns it into a vector (and dim names are lost) if the resulting matrix has only one row or column. For instance: > x <- matrix(1:10, ncol=2) > x <- x[1,] turns x into...
Indexing matrices by subsets of rows and columns is quite convenient, but it seems to take time linear in the size of the matrix (even for a small slice of the matrix): > dim(y) [1] 732 1332 > length(which(a...
Can't find what you're looking for? Try searching with Google .