Learn R Programming

HDclassif (version 2.2.1)

setHDclassif.show: Sets/gets the default 'show' argument in HDDC and HDDA

Description

Sets/gets the default value for 'show' argument in HDDC and HDDC. When TRUE then clustering information is returned at the end of the process.

Usage

setHDclassif.show(show)

getHDclassif.show

Value

getHDclassif.show returns the default value.

Format

An object of class function of length 1.

Arguments

show

Single logical with default. Will specify the default value of the show argument in HDDA and HDDC.

Examples

Run this code

data(Crabs)

# clustering of the Crabs dataset:
prms <- hddc(Crabs[,-1], K=4)  
# By default no information is displayed

# To show information:
prms <- hddc(Crabs[,-1], K=4, show = TRUE)  

# To set it permanently:
setHDclassif.show(TRUE)
prms <- hddc(Crabs[,-1], K=4)  

# to disable it permanently:
setHDclassif.show(FALSE)




Run the code above in your browser using DataLab