waiver: Waiver

Description Usage Details Value Examples

Description

Create a waiver object.

Usage

1

Details

This object is used to represent that the user has not manually specified a setting, and so defaults should be used. By explictly using a waiver(), this means that NULL objects can be a valid setting. The use of a "waiver" object was inspired by the ggplot2 package.

Value

object of class Waiver.

Examples

1
2
3
4
5
6
7
8
# create new waiver object
w <- waiver()

# print object
print(w)

# is it a waiver object?
is.Waiver(w)

prioritizr/prioritizrutils documentation built on May 25, 2019, 12:20 p.m.