cnt: Count number of non NA elements

Description Usage Arguments Value Examples

Description

This function will count number of non NA elements in the given matrix

Usage

1
cnt(x, side = 2)

Arguments

x

data matrix

side

margin along which to count

Value

counts

Examples

1
2
3
4
## Not run: 
cnt(matrix(c(1,NA,2,3),2,2))

## End(Not run)

drewgriffith15/griffun documentation built on May 15, 2019, 1:56 p.m.