nps: Instantiate an 'nps' object

Description Usage Arguments Caution Contents Author(s) Examples

View source: R/mainclass.R

Description

Instantiate an nps object

nps – A package for handling NPS data

Usage

1
nps(x, top = 9:10, bottom = 0:6)

Arguments

x

A numeric vector with the answer values

top

A numeric vector with the values in the "Promoters" category

bottom

A numeric vector with the values in the "Detractors" category

Caution

This is a package is not intended to be used in a production environment. It was designed as a tool for the "R Development" class and it explores a number of features like S4 classes, C/C++ integration, or unit testing in addition to some programming tools.

Contents

The package contains utilities to handle and analyze data coming from a likelihood to recommend question.

Author(s)

Gonzalo Rivero

Examples

1
nps(sample(0:10, size=100, replace=TRUE))

griverorz/nps-package documentation built on May 17, 2019, 8:38 a.m.