isom: Make Isomorphic...

isomR Documentation

Make Isomorphic...

Description

Make isomorphic a vector or a data frame object.

Usage

isom(x, uniq = FALSE)

Arguments

x

a vector or a data frame

uniq

(logical) whether or not the unique class should be returned

Details

This function serves to normalize otherwise arbitrary numbering of a vector or a data frame object data into a progressive ordinal recount of the data in the specified object. This is especially useful to specify more properly the corresponding clustering vector of a set of elements in a given system.

Value

The input data with isomorphic classes. In case that uniq is specified, then a list with the following items is given:

ism

the input data with isomorphic classes

uniq

the unique isomorphic classes

Author(s)

Antonio Rivero Ostoic

See Also

cngr, reduc

Examples

## Create a data frame (from 'Vectors')
df <- data.frame(x=1:3, y=5:7)

## Make isomorphic the observations
isom(df)

mplex/multiplex documentation built on April 9, 2024, 3:12 a.m.