trvsidxinq | R Documentation |
Visit the traversal table generated from a vector binary tree through the coordinate determined by the argument inq
, and return
an inquiry result containing its numeric item index, its corresponding character pattern and the coordinate.
trvsidxinq(trvs, inq)
trvs |
The traversal table to be visited, which should be generated from the vector binary tree by the function trvs(). |
inq |
An integer vector to assign the coordinate corresponding to the element to be visited. |
Return an inquiry result with a numeric item index, a character pattern and its coordinate in form of integer vector.
#Make traversal table:
trav <- trvs(dl2vbt(chrvec2dl(colnames(datatest))))
#Visit specific element by its coordinate:
trvsidxinq(trav,c(1,2,3,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.