powered by
Number and percentage of positive counts in a logical vector.
checkCount(x)
Function checkCount returns a character scalar.
logical vector
checkCount(as.logical(infert$case))
Run the code above in your browser using DataLab