Description Usage Arguments Value
View source: R/multivariate_models.R
Get the indices in the full parameter vector, th_y, of a named variable. Optionally, the variable index (j, k, or i) can be specified, or (for the correlation, z, the variable indices i1 and i2. The overall index, i, equals j for ordinal variables and J + k for continuous variables, where J is the number of ordinal variables. If no index is specified, the full range of indices for the input variable is returned. If the variable index (or indices) is specified, the relevant subrange is returned. The following table lists the five valid input patterns, where 1 indicates the index variable is specified and a 0 indicates it is not (and is thus equal to the default value, NA). j k i i1 i2 0 0 0 0 0 no index 1 0 0 0 0 j specified 0 1 0 0 0 k specified 0 0 1 0 0 i specified 0 0 0 1 1 i1 and i2 specified
1 2 3 4 5 6 7 8 9 |
var_name |
The variable name (a, tau, alpha, z) |
mod_spec |
The model specification |
j |
The ordinal index |
k |
The continuous index |
i |
The overall index |
i1 |
The overall index for the first variable of a pair |
i2 |
The overall index for the second variable of a pair |
The indices in the full parameter vector, th_y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.