R package for credibility