natural_size {humanize}R Documentation

Convert bytes to a more natural representation

Description

Convert bytes to a more natural representation

Usage

natural_size(bytes, suffix_type = "decimal", fmt = "%.1f")

Arguments

bytes

Number of bytes

suffix_type

One of 'decimal', 'binary', 'gnu'

fmt

Extra number formatting

Examples

natural_size(3000)

[Package humanize version 0.2.0 Index]