Learn R Programming

NPS (version 1.1)

nps.se: Calculate the standard error of a Net Promoter Score

Description

This function calculates the standard error (see below) of a Net Promoter Score, taking a vector of raw Recommend data

Usage

nps.se(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.

See Also

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