unmatrix {gdata}R Documentation

Convert a matrix into a vector, with appropriate names

Description

Convert a matrix into a vector, with element names constructed from the row and column names of the matrix.

Usage

unmatrix(x, byrow=FALSE)

Arguments

x matrix
byrowcode> maroton.pfizer.com

See Also

is.na, length

Examples


x <- 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]
./usr/lib/R/site-library/gdata/html/read.xls.html0000644000000000000000000000601010224366656022000 0