totalParts: Returns the total number of partitions of the distributed...

Description Usage Arguments Value See Also Examples

Description

Returns the total number of partitions of the distributed object. The result is same as prod(nparts(dobj))

Usage

1
totalParts(dobj)

Arguments

dobj

input distributed array, data.frame, or list.

Value

The total number of partitions in the distributed object.

See Also

nparts

Examples

1
2
3
4
5
## Not run: 
a <- darray(psize=c(3,3),dim=c(9,9)) # 9 partitions of 3x3
b <- totalParts(a) # Returns 9

## End(Not run)


Search within the ddR 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.