dropout: Calculates at which questions repondents drop out.

Description Usage Arguments Value Examples

View source: R/tools.R

Description

The number of respondents for each question is calculated as the length of the vector, after omitting NA values.

Usage

1

Arguments

x

surveydata object, list or data.frame

summary

If TRUE, returns a shortened vector that contains only the points where respondents drop out. Otherwise, returns the number of respondents for each question.

Value

Named numeric vector of respondent counts

Examples

1
dropout(membersurvey[-(127:128)])

surveydata documentation built on July 20, 2017, 1:04 a.m.