% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wdists.R
\name{wtrue.results}
\alias{wtrue.results}
\title{Summary evaluation of predictive performance}
\usage{
wtrue.results(studyname, y, posterior.p, prior.p)
}
\arguments{
\item{studyname}{Name of the study.}

\item{y}{Binary outcome label (0 for controls, 1 for cases).}

\item{posterior.p}{Vector of posterior probabilities generated by a logistic
regression model.}

\item{prior.p}{Vector of prior probabilities.}
}
\value{
A dataframe listing some metrics of predictive performance.
}
\description{
Summary evaluation of predictive performance
}
\examples{
data("cleveland") # load example dataset
with(cleveland,
     wtrue.results("cleveland", y, posterior.p, prior.p))

}
