paggreg: Polygonal data aggregation

Description Usage Arguments Details Value Examples

View source: R/paggreg.R

Description

The function obtains symbolic data from classical data through the center and radius representation.

Usage

1

Arguments

data

A data frame with the first column of type factor.

Details

The class "aggregated" is composed by two data sets from center and range represetation. The first and second data set represent the center and radius, respectively.

Value

paggreg returns an objects of class "paggregated".

Examples

1
2
3
4
cat <- as.factor(sample(1:20, 1000, replace = TRUE))
cv <- runif(1000) #classical variable
cvc <- data.frame(category = cat, cv) 
p <- paggreg(cvc)

psda documentation built on July 1, 2020, 6:10 p.m.