isMDF: Test For Matrix Or Data Frame

Description Usage Arguments Value Author(s) Examples

Description

See Value.

Usage

1
isMDF(x)

Arguments

x

an object.

Value

TRUE if x is a matrix or a data frame, otherwise FALSE.

Author(s)

Daniel Dvorkin

Examples

1
2
3
4
5
6
7
x = 1:3
y = cbind(1:3, 2:4)
z = as.data.frame(y)
isMDF(x) # FALSE
isMDF(y) # TRUE
isMDF(z) # TRUE
isMDF(z$V1) # FALSE


Search within the lcmix package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.