This function calculates the Net Promoter Score variance, taking a vector
of length three, with numbers or proportions of Detractors, Passives, and Promoters, respectively.
1  npvar(x)

x 
A 
numeric
. The variance of the distribution, ranging from 0 to 1.
Brendan Rocks rocks.brendan@gmail.com
nps.var
, a version which works on raw Recommend responses
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.