width: The width of a range

View source: R/ranges.R

widthR Documentation

The width of a range

Description

Always returns a positive value, even if start > end. width0 is a short handle for width(..., base=0)

Usage

width(start, end, base = 1)

width0(start, end, base = 0)

Arguments

start, end

start and end of the range

base

the base of the coordinate system, usually 1 or 0.

Value

a numeric vector


thackl/gggenomes documentation built on March 10, 2024, 7:26 a.m.