print_carp: Print 'CARP' Results

Description Usage Arguments Details Examples

Description

Prints a brief descripton of a fitted CARP object.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'CARP'
print(x, ...)

## S3 method for class 'CARP'
as.dendrogram(object, ...)

## S3 method for class 'CARP'
as.hclust(x, ...)

Arguments

x

an object of class CARP as returned by CARP

...

Additional unused arguments

object

an object of class CARP as returned by CARP

Details

Reports number of observations and variables of dataset, any preprocessing done by the CARP function, regularization weight information, and the variant of CARP used.

The as.dendrogram and as.hclust methods convert the CBASS output to an object of class dendrogram or hclust respectively.

Examples

1
2
carp_fit <- CARP(presidential_speech)
print(carp_fit)

jjn13/clustRviz documentation built on Sept. 1, 2020, 7:53 a.m.