width: Calculate the width of the range of x

Description Usage Arguments Value Examples

View source: R/width.R

Description

Calculate the width of the range of x

Usage

1
width(x)

Arguments

x

object to calculate range for

Value

The width of the range of x as integer.

Examples

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

incadata documentation built on April 14, 2020, 6:08 p.m.