Learn R Programming

multiplex (version 2.3)

isom: 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

Value

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

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.

See Also

cngr, reduc

Examples

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

## Make isomorphic the observations
isom(df)

Run the code above in your browser using DataLab