ptransform-deprecated: Polygon data transformation

Description Usage Arguments Value See Also Examples

Description

It transform labeled data in polygonal datas.

Usage

1
ptransform(data, vertices)

Arguments

data

A data frame with the first column of type factor.

vertices

integer that represent number of vertices of polygon.

Value

A list of matrices of dimension l x 2, where l represent number of vertices polygon transformed.

See Also

psda-deprecated

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 <- ptransform(cvc, 4)

psda documentation built on June 25, 2019, 1:03 a.m.