expired: How many surveys were expired?

Description Usage Arguments Examples

View source: R/shorthands.R

Description

Just a simple to check how many times a survey (e.g. diary) has expired (i.e. user missed it). It defaults to checking the "expired" variable for this.

Usage

1
expired(survey, variable = "expired")

Arguments

survey

which survey are you asking about?

variable

which variable should be filled out, defaults to "ended"

Examples

1
2
survey = data.frame(expired = c(NA, "2016-05-29 10:11:00", NA))
expired(survey = survey)

grebbel/formr_test documentation built on May 17, 2019, 8:34 a.m.