check_code: Check particular code

Description Usage Arguments Value Examples

View source: R/RecodeR.R

Description

This function is to check if a particualr code exists

Usage

1

Arguments

vector

character vector (for MA question); numeric vector (for SA question)

code

integer

Value

logical vector

Examples

1
check_code(c("1,2,33"), 3) #FALSE

momo3246/recode documentation built on Sept. 30, 2020, 2:14 p.m.