Learn R Programming

rgoogleslides (version 0.3.2)

check_validity: Convenience function to return a value if the value is NA

Description

A function that checks and ensure that the value only returns null or a number. This function can only check one value at a time.

Usage

check_validity(value)

Arguments

value

Value to check if the value is valid. If value is NA, return as NULL instead.