dim_or_len: Get 'dim' if available, 'length' otherwise

View source: R/verify_spatq.R

dim_or_lenR Documentation

Get dim if available, length otherwise

Description

Get dim if available, length otherwise

Usage

dim_or_len(x)

Arguments

x

Object to be dimd

Value

Vector (possible length 1) of the dimensions of x.


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.