search for: row7

Displaying 5 results from an estimated 5 matches for "row7".

Did you mean: row
2009 Mar 05
3
Dropping rows conditionally
...wanting to drop all the rows if there values are `NA' or have specific values like 1 or 2 or 3. mdat <- matrix(1:21, nrow = 7, ncol=3, byrow=TRUE, dimnames = list(c("row1", "row2","row3","row4","row5","row6","row7"), c("C.1", "C.2", "C.3"))) mdat<-data.frame(mdat) mdat C.1 C.2 C.3 row1 1 2 3 row2 4 5 6 row3 7 8 9 row4 10 11 12 row5 13 14 15 row6 16 17 18 row7 19 20 21 I want to say drop row if value=1 o...
2007 Nov 12
1
update matrix with subset of it where only row names match
I guess this has a simple solution: I have matrix 'mat1' which has row and column names, e.g.: A B C row1 0 0 0 row2 0 0 0 .... rown 0 0 0 I have a another matrix 'mat2', essentially a subset of 'mat1' where the rownames are all in 'mat1' e.g.: B row3 5 row8 6 row54 7 I want to insert the values of matrix mat2 for column B (in reality it could be some or
2006 Mar 28
1
weights in glm (PR#8720)
...;|t|) (Intercept) 7.64459 NA NA NA Row2 -0.05467 NA NA NA Row3 0.24541 NA NA NA Row4 0.42035 NA NA NA Row5 0.43961 NA NA NA Row6 0.04532 NA NA NA Row7 -0.04881 NA NA NA Row8 0.25370 NA NA NA Row9 -0.14976 NA NA NA Row10 -0.01267 NA NA NA Col2 0.69283 NA NA NA Col3 0.62603 NA NA NA Col4...
2007 Dec 07
0
Bug#454678: r-base-core: Crash when calling edit.matrix with edit.row.names = TRUE when there are no rownames (PR#10500)
...ames = TRUE) col1 col2 col3 row1 0.6185206 0.32911907 -0.12263839 row2 0.4553981 -1.77532265 2.06745757 row3 0.4676557 0.58817426 -0.30507048 row4 1.1898153 -1.24888167 1.02240513 row5 -1.4809138 0.05212133 0.25272844 row6 1.5709981 -1.87496256 -0.05699266 row7 0.3770318 -0.43538598 -1.28299648 row8 1.3900096 0.15139637 -1.01168270 row9 -0.3973376 0.05933193 0.34420058 row10 -1.4248380 0.86637712 -1.25193470 > q() when the matrix is simply saved from the editor -- ie no segfault. Hope this helps, and best regards, Dirk | The only other v...
2007 Dec 07
0
(PR#10500) Bug#454678: r-base-core: Crash when calling
...col2 col3 > row1 0.6185206 0.32911907 -0.12263839 > row2 0.4553981 -1.77532265 2.06745757 > row3 0.4676557 0.58817426 -0.30507048 > row4 1.1898153 -1.24888167 1.02240513 > row5 -1.4809138 0.05212133 0.25272844 > row6 1.5709981 -1.87496256 -0.05699266 > row7 0.3770318 -0.43538598 -1.28299648 > row8 1.3900096 0.15139637 -1.01168270 > row9 -0.3973376 0.05933193 0.34420058 > row10 -1.4248380 0.86637712 -1.25193470 >> q() > > when the matrix is simply saved from the editor -- ie no segfault. > > Hope this helps, and best...