SumCount: The summary of measures for categorical data

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/500.SummaryMeasuresCategoricalData20170518.R

Description

The summary of measures for categorical data

Usage

1
SumCount(inpmat, min = NULL, max = NULL)

Arguments

inpmat

- The input matrix

min

- The minimum value for the range

max

- The maximum value for the range

Details

The function calculates the number and percentage of cells which are all zeros within the given range

Value

A dataframe that provides a count of cells in a given matrix with a value of zero or value within the range specified as min and max

Feature

Feature description - "# of cells with zero value" showing the count of cells with all zeros "# of cells with value in specified range" showing the count of cells which have value within the specified range "Percentage of cells with zero value" showing the percentage of cells with all zeros "Percentage of cells with value in specified range" showing the percentage of cells which have value within the specified range

Value

Calculated value of features

Author(s)

Subbiah and Balakrishna S Kesavan

See Also

Other The summary of measures for categorical data: SumMedianSD, SumMinMaxRange, SumZeroData, SummaryData

Examples

1
2
3
4
5
x=c(7,61,55,129,489,570,475,431,293,154,38,12)
inpmat = cbind(x[1:4],x[5:8],x[9:12])
min = 0
max = 150
SumCount(inpmat, min, max)

RajeswaranV/vcdPlus documentation built on May 27, 2019, 7:28 a.m.