Learn R Programming

interfacer (version 0.3.3)

type.default: Set a default value for a column

Description

Any NA values will be replaced by this value. N.b. default values must be provided before any other rules if the validation is not to fail.

Usage

type.default(value)

Value

a validation function that switches NAs for default values

Arguments

value

a length one item of the correct type.