nps_se: Calculate the standard error of a Net Promoter Score

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
2
3
4
5
nps_se(x, breaks = getOption("nps.breaks"), na.rm = FALSE)

nps_se_(x, na.rm = FALSE)

nps.se(...)

Arguments

x

A vector of Recommend scores

breaks

A vector of length three, giving integer Likert scale break-points for Net Promoter categories. Best practice is to set the values you'd like to use at the start of a session, with options(nps.breaks = c(0, 6, 8, 10)) (for the usual setting of 0-6 being Detractors, 7-8 being Passives and 9-10 being Promoters, also the package default), or whichever values you would like. However, a vector may be supplied directly.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

...

Passed to non-depricated functions

Value

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

Author(s)

Brendan Rocks foss@brendanrocks.com

See Also

nps_var for the variance of a Net Promoter Score.


brendan-r/NPS documentation built on May 13, 2019, 5:08 a.m.