maskResponses: Mask the response list using responses given to another...

Description Usage Arguments See Also

View source: R/response.R

Description

maskResponses drops or keeps those responses from the response list that were mentioned in an earlier question.

Usage

1
maskResponses(responses, questionId, operation = "keep")

Arguments

responses

(response list) the list of responses (e.g. as returned by buildResponses).

questionId

(character) the identifier of the question that has the reference list of responses.

operation

(character) if set to 'keep', only those responses in both response lists will be returned; if set to 'drop', responses given in the reference question will be dropped from the given response list.

See Also

buildResponses.

Other response handling functions: randomizeResponses


mtrybulec/interviewer documentation built on May 23, 2019, 8:20 a.m.