isom | R Documentation |
Make isomorphic a vector or a data frame object.
isom(x, uniq = FALSE)
x |
a vector or a data frame |
uniq |
(logical) whether or not the unique class should be returned |
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.
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 |
Antonio Rivero Ostoic
cngr
, reduc
## Create a data frame (from 'Vectors')
df <- data.frame(x=1:3, y=5:7)
## Make isomorphic the observations
isom(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.