logical_to_winning_chip: Convert a logical value to a character.

Description Usage Arguments Details Value See Also

View source: R/preprocess.R

Description

Converts TRUE to "P", FALSE to "M".

Usage

1

Arguments

logical_val

A logical value

Details

This is a utility for construction of the "winning.chip" field required by NPBin functions.

Value

"P" if input was TRUE, "M" if it was FALSE.

See Also

npbin_preprocess_counts


anthony-aylward/npbin documentation built on Aug. 22, 2019, 8:08 a.m.