listOrNULL {ClassifyR}R Documentation

Union of a List and NULL

Description

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

Author(s)

Dario Strbenac

Examples

  setClass("EasyClassifier", representation(model = "listOrNULL"))
  classifier <- new("EasyClassifier", model = NULL) # Optimistic classifier.

[Package ClassifyR version 2.10.0 Index]