as.data.frame: as.data.frame

Description Usage Arguments Value Examples

Description

This S4 method masks the base::as.data.frame() S3 function. If a call uses parameters other then the expected by this package, then it will be forward to the S3 function.

Usage

1
2
3
4
5
6
7
8
as.data.frame(x, row.names, optional, ...)

## S4 method for signature 'Option.portfolio'
as.data.frame(x)

## S4 method for signature 'Project.portfolio'
as.data.frame(x, row.names = NA,
  optional = FALSE)

Arguments

x

Option.portfolio or Project.portfolio

row.names

not used. It is inherited from base::as.data.frame()

optional

logical. To be used with Project.portfolio. Indicates if the return is a data.frame with factor evaluations or with the information about which factors are specific to a project. The default is optional = FALSE

...

not used.

Value

data.frame

Examples

1
2
3
4
5
6
7
## Not run: as.data.frame(option.portfolio)

## Not run: as.data.frame(project.portfolio, option = TRUE)
## Not run: as.data.frame(project.portfolio,  , TRUE)
## Not run: as.data.frame(project.portfolio, ANY, FALSE)
## Not run: as.data.frame(project.portfolio, option = FALSE)
## Not run: as.data.frame(project.portfolio) This infer option is FALSE, too.

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