is.sparse_darray: Returns whether the input is a sparse_darray

Description Usage Arguments Value Examples

View source: R/dobject.R

Description

Returns whether the input is a sparse_darray

Usage

1

Arguments

x

input object.

Value

TRUE if x is a sparse_darray, FALSE otherwise.

Examples

1
2
3
4
5
6
## Not run: 
is.sparse_darray(3) # FALSE
is.sparse_darray(darray(psize=c(3,3),dim=c(9,9))) # FALSE
is.sparse_darray(darray(npartitions=3,sparse=TRUE)) # TRUE

## End(Not run)

ddR documentation built on May 29, 2017, 6:52 p.m.