Learn R Programming

nimbleMacros (version 0.1.1)

Macros Generating 'nimble' Code

Description

Macros to generate 'nimble' code from a concise syntax. Included are macros for generating linear modeling code using a formula-based syntax and for building for() loops. For more details review the 'nimble' manual: .

Copy Link

Version

Install

install.packages('nimbleMacros')

Monthly Downloads

142

Version

0.1.1

License

BSD_3_clause + file LICENSE | GPL (>= 2)

Maintainer

Ken Kellner

Last Published

March 11th, 2025

Functions in nimbleMacros (0.1.1)

LINPRED

Macro to build code for linear predictor from R formula
matchPrior

Match a prior from a list of prior settings
setPriors

Set up prior values for different categories of nodes
LINPRED_PRIORS

Macro to build code for priors on a linear predictor from an R formula
LM

Macro for fitting linear models, GLMs, and GLMMs
uppertri_mult_diag

uppertri_mult_diag
FORLOOP

Macro to build for loop(s) from code with index ranges in brackets