search for: genentch

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

Did you mean: genentech
2008 Jan 07
2
Efficient way to substract all entries in two vectors from each other
Hi all, I'm to inexperienced to come up with the matrix solution elusively appearing on the horizon for the following problem and would appreciate if you could give me a nudge ... I have two vectors a, and b and need to find the closest match for each value of a in b. How to do that efficiently? Thanks, Joh
2008 Jan 11
2
How to calculate the mean of all values in a list or dataframe
Hello all, I've scoured the archives and google and I can't figure out how to amalgamate a set of vectors of differing lengths in such a way as I can calculate the mean easily. The following dummy example contains vectors of length 1, but my data has vectors of various lengths. R> test = list(); for(i in 1:5) {test = append(test, i)} R> test [[1]] [1] 1 [[2]] [1] 2 [[3]] [1] 3