Description Usage Arguments Value Note Examples
S4 method to construct Option.portfolio S4 objects. It accepts different sets for parameters types.
1 2 3 4 5 6 7 8 9 10 | Option.portfolio(x)
## S4 method for signature 'ANY'
Option.portfolio(x)
## S4 method for signature 'list'
Option.portfolio(x)
## S4 method for signature 'data.frame'
Option.portfolio(x)
|
x |
list of Option S4 object or a data.frame |
a Option.portfolio S4 object
Arguments (ANY)
A call to Project.portfolio( )
with no parameters will return
an error message for mismatch argument.
Arguments list(). A non-empty list with Option S4 objects.
Arguments data.frame. A data.frame where columns represent factors and rows are the options. The data frame is checked for no columns and no rows. The constructors called subsequently will verify if acceptable values where used to factor evaluation and for distinct names of factors and options.
It is possible to obtain a dummy table to serve as example by
construction a potrfolio using Option.portfolio(list.of.options)
and
after converting it in a data.frame using the function
as.data.frame(option.portfolio)
.
1 2 3 | ## Not run: option.portfolio <- Option.portfolio(list.of.options)
## Not run: option.portfolio <- Option.portfolio(my.option.portfolio.data.frame)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.