% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{as.data.frame.SCREENING}
\alias{as.data.frame.SCREENING}
\title{Coerce a 'SCREENING' object to a data frame}
\usage{
\method{as.data.frame}{SCREENING}(x, row.names = NULL, optional = FALSE, ...)
}
\arguments{
\item{x}{A \code{SCREENING} object.}

\item{row.names, optional}{Currently ignored.}

\item{...}{Further arguments (ignored).}
}
\value{
A \code{data.frame} with columns \code{fund}, the performance measure
(\code{alpha}, \code{sharpe}, or \code{msharpe}), \code{pipos}, \code{pizero},
\code{pineg}, \code{npeer}, and \code{lambda}; a \code{coefficient} column is
added when \code{screen_beta = TRUE}.
}
\description{
Returns a tidy \code{data.frame} with one row per fund (or, when
the screening was run with \code{screen_beta = TRUE}, one row per
fund/coefficient), suitable for downstream filtering, ranking, and plotting.
}
\examples{
\donttest{
  data("hfdata")
  sc <- alphaScreening(hfdata[, 1:10], control = list(nCore = 1))
  head(as.data.frame(sc))
}
}
\seealso{
\code{\link{alphaScreening}}.
}
\author{
David Ardia and Kris Boudt.
}
\keyword{manip}
