d_bnry: various describer functions for bnry types

View source: R/describers.R

d_bnryR Documentation

various describer functions for bnry types

Description

various describer functions for bnry types

Usage

d_bnry(...)

d_ref_level(x, ...)

d_bn(x, w = NULL, weight = "sample", ...)

d_bp(x, w = NULL, ...)

d_odds(x, w = NULL, ...)

Arguments

...

this is to be able to tolerate unnecessary arguments

x

vector

w

weight

weight

style of weighting, 'sample' (default) or 'case'

Functions

  • d_ref_level(): return the reference level of a bnry factor

  • d_bn(): number of occurrences of the reference value

  • d_bp(): proportion of occurrences of the reference value

  • d_odds(): the odds of the reference level


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