insert_macro_section: inserts a block of macro(s) into a block of scaffold

Description Usage Arguments

View source: R/parse_macro.r

Description

inserts a block of macro(s) into a block of scaffold

Usage

1
insert_macro_section(.scaffold, .macros, pos = NA)

Arguments

.scaffold

one stan block to insert into

.macros

character vector of parsed, merged stan macros for the block

pos

where to insert. If NA, automatically inserts after declarations (if in an appropriate block) or at the end (if not)


Christopher-Peterson/macroStan documentation built on Oct. 30, 2019, 5:42 a.m.