search for: 14x1

Displaying 1 result from an estimated 1 matches for "14x1".

Did you mean: 141
2008 Jan 08
1
using mapply()
...NA NA NA NA NA NA NA NA NA NA [5,] NA NA NA NA NA 0.25 NA NA NA NA NA NA NA NA What I want to do is find the values that are not NA simultaneously for each value in each element of the list, and then average these numbers and store them in a 14x1 vector. For example, in position (2,1) in each of the 3 elements of the res list, there is a value, 1.25 in [[1]] and [[2]], 0.25 in [[3]]. Since there is a value in this position in all elements of the list I want to average these numbers: (1.25+1.25+0.25)/3 and store this value in a numeric vec...