split_common_unique: Get common and unique text in question based on regex pattern...

View source: R/questions.R

split_common_uniqueR Documentation

Get common and unique text in question based on regex pattern identification.

Description

Get common and unique text in question based on regex pattern identification.

Usage

split_common_unique(x, ptn = NULL)

Arguments

x

A character vector

ptn

A regex() pattern that defines how the string should be split into common and unique elements

See Also

Other Question functions: question_text_common(), question_text_unique(), question_text(), questions(), which.q()


surveydata documentation built on March 31, 2023, 10:35 p.m.