Learn R Programming

ThomasJeffersonUniv (version 0.1.3)

checkCount: Positive Counts in a logical vector

Description

Number and percentage of positive counts in a logical vector.

Usage

checkCount(x)

Value

Function checkCount returns a character scalar.

Arguments

x

logical vector

Examples

Run this code
checkCount(as.logical(infert$case))

Run the code above in your browser using DataLab