Displaying 2 results from an estimated 2 matches for "labsite".
Did you mean:
labite
2004 Dec 07
1
Importing module into R library
Hello,
I am basically familiar with R and am trying to import a module that someone
else has written. I know that it must go into the R library but even after
I place the file there R doesn't recognize it. The module is maanova,
available from the Churchill lab group for analysis of microarray data, if
anyone is familiar with it. Any ideas/help?
Thanks,
Heather
--
2012 Nov 08
4
Accessing selected elements of a list
Hi,
If I have a vector:
junk <- c(2,0,0,3,0)
and want to access, say, all the elements that are greater than zero. I just do:
junk[which(junk>0)]
Now, If I have a list:
jlist <- list(NULL,c(1,0),NULL,c(1,2,3), NULL)
and want to access all the elements that have length greater than zero, I know how to find the elements with:
which(sapply(jlist,length)>0)
But how do I get a