countones: countones used in apply to count the number of ones in a...

Description Usage Arguments Value Examples

View source: R/codeutils.R

Description

countones used in apply to count the number of ones in a vector

Usage

1
countones(invect)

Arguments

invect

vector of values

Value

A single value of zero or the number of ones

Examples

1
cat("Example still be made /n")

haddonm/codeutils documentation built on Nov. 19, 2017, 12:22 a.m.