makeIndex | R Documentation |
A function that makes an index for selective or top masses.
Replaces the method libId
.
makeIndex(lib, sel=TRUE)
lib |
A tsLib object. |
sel |
A logical flag. If |
This is an internal function that should not be used. It is exposed
because the method it replaces, libId
, was originally
exposed, so compatibility is not lost.
An integer vector, where each number is associated with an element of the library object, and its multiplicity with the number of selective or top masses.
It is equivalent to the deprecated method libId
.
Alvaro Cuadros-Inostroza
tsLib
# load example objects
data(TSExample)
# generate an index for selective masses
(idx <- makeIndex(refLibrary, TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.