width {rccmisc}R Documentation

Calculate the width of the range of x

Description

Calculate the width of the range of x

Usage

width(x)

Arguments

x

object to calculate range for

Value

The width of the range of x as integer.

Examples

width(1:10)
width(c(6748, 234, 2456, 5678))
width(sample(345))

[Package rccmisc version 0.3.7 Index]