dot-tib_scalar_or_vector_spec: Create a scalar or vector tib spec

.tib_scalar_or_vector_specR Documentation

Create a scalar or vector tib spec

Description

Create a scalar or vector tib spec

Usage

.tib_scalar_or_vector_spec(name, ptype, is_scalar)

Arguments

name

(character(1)) The name of the field.

ptype

(vector(0)) A prototype of the desired output type of the field.

is_scalar

(logical(1)) If TRUE, return a tib_scalar() spec, otherwise a tib_vector() spec.

Value

A tib_scalar() or tib_vector() spec.


tibblify documentation built on May 9, 2026, 5:07 p.m.