vec: Abbreviated scalar

View source: R/vector.R

vecR Documentation

Abbreviated scalar

Description

Abbreviated scalar

Usage

vec(mode = "logical", length = 0)

Arguments

mode

character string naming an atomic mode or "list" or "expression" or (except for vector) "any". Currently, is.vector() allows any type (see typeof) for mode, and when mode is not "any", is.vector(x, mode) is almost the same as typeof(x) == mode.

length

a non-negative integer specifying the desired length. For a long vector, i.e., length > .Machine$integer.max, it has to be of type "double". Supplying an argument of length other than one is an error.


D-Se/ergo documentation built on May 24, 2022, 5:20 p.m.