R: Make an object of information about a model-parameter pairing...

makeParamInfo {nimble} | R Documentation

## Make an object of information about a model-parameter pairing for getParam. Used internally

### Description

Creates a simple getParam_info object, which has a list with a paramID and a type

### Usage

    makeParamInfo(model, nodes, param)

### Arguments

`model` | A model such as returned by `nimbleModel`.
`nodes` | A character string naming one one or more stochastic nodes, such as "mu", "c('mu', 'beta[2]')", or "eta[1:3, 2]". getParam only works for one node at a time, but if it is indexed (nodes[i]), then makeParamInfo sets up the information for the entire vector nodes. The processing pathway is used by the NIMBLE compiler.
`param` | A character string naming a parameter of the distribution followed by node, such as "mean", "rate", "lambda", or whatever parameter names are relevant for the distribution of the node.

### Details

This is used internally by `getParam`. It is not intended for direct use by a user or even a nimbleFunction programmer.

[Package nimble version 0.10.0 Index]