Learn R Programming

nlist (version 0.1.1)

vld_natomic: Validate Numeric Atomic, nlist Object or nlists Object

Description

Validate Numeric Atomic, nlist Object or nlists Object

Usage

vld_natomic(x)

vld_nlist(x)

vld_nlists(x)

Arguments

x

The object to check.

Value

A flag indicating whether the object was validated.

Functions

  • vld_natomic: Validate Numeric Atomic

  • vld_nlist: Validate nlist Object

  • vld_nlists: Validate nlists Object

See Also

chk_natomic()

Examples

Run this code
# NOT RUN {
#' vld_natomic
vld_natomic(1)
vld_natomic(matrix(1L))
try(vld_natomic(TRUE))

# vld_nlist
vld_nlist(nlist(x = 1))
try(vld_nlist(list(x = 1)))

# vld_nlists
vld_nlists(nlists(nlist(x = 1)))
vld_nlists(1)
# }

Run the code above in your browser using DataLab