summary.BLB_archetypal {GeomArchetypal}R Documentation

Summarize an Object of the Class BLB_archetypal

Description

It summarizes the output of BLB_archetypal

Usage

## S3 method for class 'BLB_archetypal'
summary(object, ...)

Arguments

object

An object of the class BLB_archetypal

...

Other arguments (ignored)

Details

Given an object of class BLB_archetypal all the results are being summarized in explanatory form.

Value

No return value, called for side effects

Examples

{
# Load package
library(GeomArchetypal)
# Load data
data("gallupGPS6")
# draw a small sample
set.seed(2024)
df <- gallupGPS6[sample(1:nrow(gallupGPS6),35000,replace = FALSE),]
# invent a grouping variable
df$grp <- cut(df$risktaking, breaks = 2)
test <- BLB_archetypal(df = df, 
                        group_var = "grp",
                        aa_var = c("patience","risktaking","trust"), 
                        n = 1, r = 2, n_core = 1,
                        diag_less = 1e-2)
# Summarize the results of the "BLB_archetypal" class object:
summary(test)

}

[Package GeomArchetypal version 1.0.2 Index]