Learn R Programming

shard (version 0.1.0)

length.shard_descriptor: Length of a shard_descriptor Object

Description

Length of a shard_descriptor Object

Usage

# S3 method for shard_descriptor
length(x)

Value

An integer scalar giving the number of shards.

Arguments

x

A shard_descriptor object.

Examples

Run this code
sh <- shards(100, block_size = 25)
length(sh)

Run the code above in your browser using DataLab