is.matrix {rhdf5}R Documentation

A generic is.matrix with some methods.

Description

The function is.matrix returns true if the object x has dimension equal to two and both values are integers.

Usage

is.matrix(x, ...)
is.matrix.hdf5.dataset(x, ...)

Arguments

x Any object for the first case and an object of class hdf5.dataset for the second.
... Additional arguments, currently these are ignored.

Details

As above.

Value

A logical, either TRUE if the conditions are met or FALSE if they are not.

Author(s)

R. Gentleman

See Also

is.finite.hdf5.dataset

Examples

 ## Not run: 
   mad <- hdf5.open("microarray.h5")
    x1 <- hdf5.dataset(mad, "finiteex", dim=c(15, 15))
    is.matrix(x1)
## End(Not run)

[Package rhdf5 version 1.4.0 Index]