Learn R Programming

coppeCosenzaR (version 0.1.3)

Option: Option Constructor function

Description

Constructs a Option S4 object, which represents a possible solution to projects. The object includes a list of Option.resource, which is type checked.

Usage

Option(name, option.resources)

Arguments

name

character character (any other argument will be cast to character)

option.resources

Option.resources S4 object. Cannot be empty.

Value

a Option S4 object

Examples

Run this code
# NOT RUN {
Option <- Option(name, option.resources)
# }
# NOT RUN {


# }

Run the code above in your browser using DataLab