Description Usage Arguments Value Examples
Summary evaluation of predictive performance
1  | wtrue.results(studyname, y, posterior.p, prior.p)
 | 
studyname | 
 Name of the study.  | 
y | 
 Binary outcome label (0 for controls, 1 for cases).  | 
posterior.p | 
 Vector of posterior probabilities generated by a logistic regression model.  | 
prior.p | 
 Vector of prior probabilities.  | 
A dataframe listing some metrics of predictive performance.
1 2 3  | data("cleveland") # load example dataset
with(cleveland,
     wtrue.results("cleveland", y, posterior.p, prior.p))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.