Project.portfolio: Project.portfolio

Description Usage Arguments Value Note Examples

Description

S4 method to construct Project.portfolio S4 objects. It accepts different sets for parameters types.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Project.portfolio(x, y)

## S4 method for signature 'ANY,ANY'
Project.portfolio(x)

## S4 method for signature 'list,ANY'
Project.portfolio(x)

## S4 method for signature 'data.frame,data.frame'
Project.portfolio(x, y)

Arguments

x

list A non-empty list with Project S4 objects, or a data frame with factors evauation

y

data.frame with specfic factors, if x is also a data.frame

Value

a Project.portfolio S4 object

Note

Arguments (ANY)
A call to Project.portfolio( ) with no parameters will return an error message for missing argument.

Arguments (data.frame, data.frame). Data.frame where columns represent factors and rows are the projects. The data.frame is checked for no-columns and no-rows. The firs data.frame contain the factors evaluation and the second, with same rows and columns, contain boolean information about the factor being specific or not to the project. The constructors called subsequently will verify if acceptable values where used to factor evaluation and for distinct names of factors and projects

It is possible to obtain a dummy table to serve as example by construction a portfolio using Project.portfolio(list.of.projects) and, after, converting it in a data.frame using the function as.data.frame(project.portfolio).

Examples

1
2
3
4
5
## Not run: option.portfolio <- Project.portfolio(list.of.project)

## Not run: project.portfolio <-
(project.portfolio.as.data.frame, project.portfolio.specifics.as.data.frame)
## End(Not run)

coppeCosenzaR documentation built on May 2, 2019, 8:18 a.m.