This package uses linear regression to estimate an individuals' personalized advantage index (PAI). How much better he or she will do in one treatment versus another and uses cross validation and bootstrapping (and optionally accepts multiply imputed data as a list of datasets).
Package details 


Author  Joshua F. Wiley <[email protected]> 
Maintainer  Joshua F. Wiley <[email protected]> 
License  LGPL3 
Version  0.22 
URL  https://github.com/jwiley/pai 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.