nps.var: 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 raw Recommend data

Usage

1
nps.var(x, breaks = list(0:6, 7:8, 9:10))

Arguments

x

A vector of Recommend scores

breaks

A list of length three, giving the integer Likert scale points for Detractors, Passives, and Promoters, respectively. The default is list(0:6, 7:8, 9:10)

Value

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

Author(s)

Brendan Rocks rocks.brendan@gmail.com

See Also

npvar, a version which works on counts or proportions of responses


NPS documentation built on May 2, 2019, 8:36 a.m.