convertSNtoLogical: Convert logical varible in spanish (S/N) to logical...

View source: R/convertSNtoLogical.R

convertSNtoLogicalR Documentation

Convert logical varible in spanish (S/N) to logical TRUE/FALSE.

Description

Convert logical varible in spanish (S/N) to logical TRUE/FALSE.

Usage

convertSNtoLogical(x)

Arguments

x

vector to convert. Only admit "S", "N" or empty values. Empty values are assumed as FALSE.

Value

vector var converted as logical. In case a value is distinct of "S", "N" or empty value, an error is thrown.


Eucrow/sapmuebase documentation built on April 17, 2024, 10:29 a.m.