listOrCharacterOrNULL-class: Union of a List and a Character Vector and NULL

Description Author(s) Examples

Description

Allows a slot to be either a list, character or a NULL.

Author(s)

Dario Strbenac

Examples

1
2
  setClass("HardClassifier", representation(model = "listOrCharacterOrNULL"))
  classifier <- new("HardClassifier", model = "Good") # Optimistic classifier.

ClassifyR documentation built on Nov. 8, 2020, 6:53 p.m.