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.
Try, data[data$id%in%selected.id,] Good day! Kushantha -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of abdul kudus Sent: Wednesday, May 06, 2009 10:12...
Try split()! ?split e.g > a var1 var2 var3 1 a 1 4 2 a 2 5 3 a 3 6 4 b 4 7 5 b 5 8 6 a 6 9 7 b 7 NA 8 c 8...
row() gives the row number of each element of the matrix, similarly col() gives the column number. By definition, diagonal elements are the elements correspond to same row and column numbers. That's how it works... x <- matrix(1:12...
Try this: > x <- array(1:12,c(3,2,2)) > x , , 1 [,1] [,2] [1,] 1 4 [2,] 2 5 [3,] 3 6 , , 2 [,1] [,2] [1,] 7 10 [2,] 8 11 [3,] 9 12 > xt <- aperm(x, c(2...
Can't find what you're looking for? Try searching with Google .