cas.count: Count of Nonmissing Values

View source: R/descriptive_stats.R

cas.countR Documentation

Count of Nonmissing Values

Description

Returns the number of nonmissing values in the input table by column.

Usage

cas.count(CASTable)

Arguments

x

CASTable.

Details

This function operates on numeric columns only.

Value

casDataFrame

The result includes one row for each numeric variable and a column that is named N for the nonmissing count.

See Also

cas.nmiss to count missing values.

Examples

## Not run: 
cas.count(ct[1:4])
cas.count(ct$n2)

## End(Not run)

sassoftware/R-swat documentation built on Feb. 26, 2024, 8 a.m.