Learn R Programming

NPS (version 1.1)

npvar: Calculate the variance of a Net Promoter Score

Description

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

Usage

npvar(x)

Arguments

x
A vector of length three, with numbers or proportions of Detractors, Passives, and Promoters, respectively

Value

numeric. The variance of the distribution, ranging from 0 to 1.

See Also

nps.var, a version which works on raw Recommend responses