Skip to contents

By default, line 2 and 3 of comments starting with # or // in Stan file are returned

Usage

stan_model_names(n_lines = 2, skip = 1, sep = "\n")

Arguments

n_lines

Number of comment lines to retrieve

skip

Number of lines to skip from beginning of Stan Model file

sep

separator for multiline strings

Value

A data frame with model_name and the first n_lines

comment lines in model as description