reduce.vector.expression {DTwrappers}R Documentation

Takes a numeric vector and produces a statement with a more compact representation. For instance, c(1,2,3,4) would become '1:4' and c(1:3, 4:6) could become '1:6'.

Description

Takes a numeric vector and produces a statement with a more compact representation. For instance, c(1,2,3,4) would become '1:4' and c(1:3, 4:6) could become '1:6'.

Usage

reduce.vector.expression(x)

Arguments

x

a numeric vector

Value

None


[Package DTwrappers version 0.0.2 Index]