dist.mat.size: Rough estimate of memory requirements of distance matrix

Description Usage Arguments Value Examples

View source: R/Price_FUNCTIONS.R

Description

Calculate the amount of memory needed to store a distance matrix, before calculating the distance matrix. This is a prudent way to prevent running out of RAM when calculating a distance matrix. (Code implemented from response on R help list).

Usage

1

Arguments

n

This is the number of rows in the distance matrix

Value

Estimated memory requirement in GB

Examples

1

ctkremer/priceTools documentation built on May 28, 2019, 7:49 p.m.