create_labels: Create Labels for Split Variables

Description Usage Arguments Value See Also

View source: R/utils.R

Description

This function prints variable's labels for a MonoClust tree.

Usage

1
create_labels(x, abbrev, digits = getOption("digits"), ...)

Arguments

x

MonoClust result object.

abbrev

Whether to print the abbreviated versions of variable names. Can be either "no" (default), "short", or "abbreviate". Short forms of them can also be used.

If "no", the labels recorded in x$labels are used.

If "short", variable names will be turned into "V1", "V2", ...

If "abbreviate", abbreviate() function will be used. Use the optional arguments for this function.

digits

Number of significant digits to print.

...

Optional arguments to abbreviate().

Value

A list containing two elements:

See Also

abbreviate()


vinhtantran/monoClust documentation built on March 12, 2021, 11:11 p.m.