byter: Byte Converter

View source: R/byter.R

byterR Documentation

Byte Converter

Description

Simple wrapper to object size and format.

Usage

byter(
  obj,
  units = c("b", "Kb", "Mb", "Gb", "B", "KB", "MB", "GB", "auto"),
  num = FALSE,
  ...
)

Arguments

obj

object to return size for. Can also be a numeric (assumes bytes).

units

units to convert to.

num

boolean to switch converting an actual value as opposed to 'object size' object (the default)


jhollist/miscPackage documentation built on Nov. 26, 2024, 5:34 p.m.