type.complete: Coerce to a complete set of values.

View source: R/type-coerce.R

type.completeR Documentation

Coerce to a complete set of values.

Description

This test checks either for factors that all factor levels are present in the input, or for numerics if the sequence from minimum to maximum by the smallest difference are not all (approximately) present. Empty values are ignored.

Usage

type.complete(x)

Arguments

x

any vector, factor or numeric

Value

the input or error if not complete


interfacer documentation built on April 4, 2025, 6:13 a.m.