Learn R Programming

interfacer (version 0.3.3)

type.complete: 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)

Value

the input or error if not complete

Arguments

x

any vector, factor or numeric