Displaying 1 result from an estimated 1 matches for "2row".
Did you mean:
1row
2012 May 14
3
select data
...to do not consider some values.
To better explain, think like there are two units and three variables:
V1 V2 V3
[1] 3 -2 4
[2] -1 4 1
and you want to calculate the average by row, without considering those
negative values:
=> mean(1row) = (3+4)/2
=> mean(2row) = (4+1)/2
Could anyone please give me the commands to do that in R?
Thank you so much
[[alternative HTML version deleted]]