calculate phi
calculates phi out of specificity and sensitivity depending on the ratio
calculate_phi(spec, sens, ratio = 1)
spec
: is the specificity, the true negative ratesens
: is the sensitivity, the true positive rateratio
: is the ratio of positive and negative of the data. The default is 1phi
calculate_phi(1,0) calculate_phi(0.5,0.3)
rothe
Useful links