add.flagged.count.column: Count number of "FLAGGED" in a vector.

Description Usage Arguments Value Author(s) Examples

Description

Inputs a vector containing strings 0 or FLAGGED. Returns the count of "FLAGGED" found in the vector.

Usage

1

Arguments

x

character vector containing 0 or FLAGGED

Value

Returns an integer representing the count of FLAGGED.

Author(s)

Richard J. de Borja <richard.deborja@sickkids.ca>

Examples

1
2
x <- c('FLAGGED', '0', 'FLAGGED', 'FLAGGED', '0', 'FLAGGED')
add.flagged.count.column(x=x)

shlienlab/ShlienLab.Core.Filter documentation built on May 20, 2019, 5:27 p.m.