print_model: Display row indices for model used in 'nimble'

View source: R/localSCR.R

print_modelR Documentation

Display row indices for model used in 'nimble'

Description

Prints model created with nimbleCode()to show row indices.

Usage

print_model(model)

Arguments

model

The nimbleCode() used to define model in nimble package, possibly generated from get_classic function.

Value

A vector of characters with each row representing a line of the model. This function is meant to help with using customize_model.

Author(s)

Daniel Eacker

Examples

# get model
scr_model = get_classic(dim_y = 2, enc_dist = "binomial",sex_sigma = TRUE,
hab_mask=TRUE,trapsClustered = TRUE)

print_model(scr_model)

sitkensis22/localSCR documentation built on May 15, 2022, 5:26 p.m.