| unmatrix {gdata} | R Documentation |
Convert a matrix into a vector, with element names constructed from the row and column names of the matrix.
unmatrix(x, byrow=FALSE)
x |
matrix |
byrowcode> |
maroton.pfizer.com
See AlsoExamplesx <- c(1,2,3,5,NA,6,7,1,NA ) length(x) nobs(x) df <- data.frame(x=rnorm(100), y=rnorm(100)) df[1,1] <- NA df[1,2] <- NA df[2,1] <- NA nobs(df) [Package gdata version 2.0.6 Index]
|