Learn R Programming

Gmisc (version 3.0.3)

assert_unit: Checks if unit or number 0-1

Description

Checks if unit or number 0-1

Assert that its a string or number

Assert valid color

Usage

assert_unit(var, allow_missing = TRUE)

assert_label(var, allow_missing = TRUE)

assert_just(var, allow_missing = TRUE)

Value

void

void

void

Arguments

var

Variable 2 check

allow_missing

Allow missing variables