prDescGetAndValidateDefaultRef: A helper function for the description stats

View source: R/private_functions.R

prDescGetAndValidateDefaultRefR Documentation

A helper function for the description stats

Description

A helper function for the description stats

Usage

prDescGetAndValidateDefaultRef(x, default_ref)

Arguments

x

The variable of interest with the levels

default_ref

The default reference, either first, the level name or a number within the levels. If left out it defaults to the first value.

Value

integer The level number of interest


gforge/Gmisc documentation built on Aug. 30, 2023, 7:38 a.m.