powered by
Gets the index for each term of an term or term_rcrd object.
tindex(x)
A named list of integer vectors of the index for each term.
The object.
For example the index of beta[2,1] is c(2L, 1L) while the index for sigma is 1L. It is useful for extracting the values of individual terms.
beta[2,1]
c(2L, 1L)
sigma
1L
dims(), ndims(), npdims() and pdims()
dims()
ndims()
npdims()
pdims()
Other term: term_rcrd(), term()
term_rcrd()
term()
tindex(term("alpha", "alpha[2]", "beta[1,1]", "beta[2 ,1 ]"))
Run the code above in your browser using DataLab