Learn R Programming

separationplot (version 1.3)

separationplot-package: Separation Plot Package

Description

Functions to generate separation plots

Arguments

Author

Brian D. Greenhill, Michael D. Ward and Audrey Sacks

Maintainer: Brian Greenhill <bgreenhill@albany.edu>

Details

Package:separationplot
Type:Package
Version:1,1
Date:2020-01-07
License: NA

Please contact Brian Greenhill <bgreenhill@albany.edu> with any questions you may have.

References

Greenhill, Brian, Michael D. Ward, and Audrey Sacks. "The separation plot: A new visual method for evaluating the fit of binary models." American Journal of Political Science 55.4 (2011): 991-1002.

Examples

Run this code
# \donttest{
# Very simple example from the introduction to the paper:
#
separationplot(pred=c(0.774, 0.364, 0.997, 0.728, 0.961, 0.422), 
actual=c(0,0,1,0,1,1), shuffle=FALSE, line=FALSE, type="rect", rectborder=1)
# }

Run the code above in your browser using DataLab