Learn R Programming

rbi (version 1.0.0)

print.bi_model: Print the lines of a LibBi model

Description

Prints all lines in a LibBi model

This prints the model name, basic information such as number of iterations and timesteps run, as well as a list of variables.

Usage

# S3 method for bi_model
print(x, spaces = 2, screen = TRUE, ...)

# S3 method for libbi print(x, verbose = FALSE, ...)

Value

if screen is FALSE, a character vector of model lines

nothing (invisible NULL)

Arguments

x

a libbi object

spaces

number of spaces for indentation

screen

whether to print to screen (default: TRUE). In that case, line numbers will be added; otherwise, a character vector will be returned.

...

ignored

verbose

logical; if TRUE, locations of files and working folder should be printed