Learn R Programming

psda (version 1.4.0)

paggreg: Polygonal data aggregation

Description

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

Usage

paggreg(data)

Arguments

data

A data frame with the first column of type factor.

Value

paggreg returns an objects of class "paggregated".

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.

Examples

Run this code
# NOT RUN {
cat <- as.factor(sample(1:20, 1000, replace = TRUE))
cv <- runif(1000) #classical variable
cvc <- data.frame(category = cat, cv) 
p <- paggreg(cvc)
# }

Run the code above in your browser using DataLab