npvar: Calculate the variance of a Net Promoter Score

Description Usage Arguments Value Author(s) See Also

View source: R/Documented_Small_NPS_Functions.r

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

1
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.

Author(s)

Brendan Rocks rocks.brendan@gmail.com

See Also

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


NPS documentation built on May 29, 2017, 10:49 p.m.