is.vectorlist: Vector-List

View source: R/vectorlist.R

is.vectorlistR Documentation

Vector-List

Description

To determine if an R object is a list of vectors with the same storage.mode, length and attributes.

Usage

is.vectorlist(
  x,
  mode = c("logical", "integer", "numeric", "double", "character")
)

Arguments

x

a listof

mode

character scalar other than 'any', 'complex' and 'raw', see the function is.vector

Value

The function is.vectorlist() returns a logical scalar.

Examples

spatstat.data::Kovesi$values |>
 is.vectorlist(mode = 'character') |>
 stopifnot()
spatstat.data::Kovesi$values |>
 is.vectorlist(mode = 'numeric')

groupedHyperframe documentation built on June 21, 2026, 5:11 p.m.