add_none: Add NULL to choices

View source: R/util.R

add_noneR Documentation

Add NULL to choices

Description

Adds string-encoded NULL labeled as "none" to a vector of choices. This is due to NULL not being able to be an element of a vector.

Usage

add_none(choices)

Arguments

choices

[character()]
Choices to augment with NULL.

Value

A character vector with NULL option prepended to choices.


KotulskaLab/AmyloGraph documentation built on June 30, 2023, 8:48 p.m.