idx.RdConvert indexes given by to triplet `(idx, group, replicate)' to the (one-dimensional) index used in the grouped and replicated model
The index within the basic model. (Legal values from `1' to `n'.)
The length `n' of the basic model.
The index within group. (Legal values from `1' to `ngroup'.)
Number of groups.
The index within replication. (Legal values from `1' to `nrep'.)
Number of replications.
inla.idx returns indexes in the range `1' to `n*ngroup*nrep'
representing where the triplet `(idx,group,replicate)' is stored
internally in the full grouped and replicated model.
##TODO