var_not: Logical NOT

View source: R/var_not.R

var_notR Documentation

Logical NOT

Description

Logical NOT

Usage

var_not(newvr, vr)

Arguments

newvr

name of the new variable to be created

vr

a logical variable

Value

Survey object

See Also

Other variables: var_all(), var_any(), var_case(), var_collapse(), var_copy(), var_cross(), var_cut()

Examples

set_survey(namcs2019sv)
var_not("Private insurance not used", "PAYPRIV")

surveytable documentation built on Aug. 26, 2025, 1:07 a.m.