Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

oneToNULL

Convert a value of 1 to a NULL value.


Description

oneToNull is a utility function that returns NULL when a value of 0 or 1 is passed to it, otherwise it returns the original value.

Usage

oneToNULL(value, convertOneToNULL)

Arguments

value

The value to check.

convertOneToNULL

TRUE to convert 1 to NULL.

Value

NULL if value==1, otherwise value.


basictabler

Construct Rich Tables for Output to 'HTML'/'Excel'

v1.0.0
GPL-3
Authors
Christopher Bailiss [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.