blocksize {mbkmeans} | R Documentation

## blocksize

### Description

Return the maximum number of rows to use based on the amount of ram memory.

### Usage

    blocksize(data, ram = get_ram())

### Arguments

`data` | matrix-like object.
`ram` | the max amount of ram (in bytes) to use.

### Value

Numeric value of the maximum number of rows.

### Examples

    data <- matrix(NA, nrow = 100, ncol=1000)
    blocksize(data, ram=1e6)

[Package mbkmeans version 1.4.1 Index]