funHist: Histogram

Description Usage Arguments Value

View source: R/utilities-histogram.R

Description

Function to evaluate a histogram for numeric and categorical types. This function is used internally by dpHistogram to evaluate the true histogram prior to perturbation.

Usage

1
funHist(x, varType, bins = NULL)

Arguments

x

Vector of numeric or categorical type.

varType

Character indicating the variable type.

bins

Vector indicating the bins into which x is partitioned.

Value

Histogram with counts for each level of x.


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.