d_catg: various describer functions for catg types

View source: R/describers.R

d_catgR Documentation

various describer functions for catg types

Description

various describer functions for catg types

Usage

d_catg(...)

d_levels(x, useNA = FALSE, w = NULL, ...)

d_percent(x, useNA = FALSE, w = NULL, ...)

d_cn(x, useNA = FALSE, w = NULL, ...)

d_cp(x, useNA = FALSE, w = NULL, ...)

Arguments

...

this is to be able to tolerate unnecessary arguments

x

vector

useNA

show information for missing?

w

weight

Functions

  • d_levels(): the levels of a catg variable

  • d_percent(): percentage of each level (and missing possibly)

  • d_cn(): count of each level (and missing possibly)

  • d_cp(): the estimated proportion of each level


renlund/descripteur documentation built on Sept. 24, 2023, 7:07 p.m.