Learn R Programming

inlabru (version 2.11.1)

bru_log_new: Create a bru_log object

Description

Create a bru_log object, by default empty.

Usage

bru_log_new(x = NULL, bookmarks = NULL)

Arguments

x

An optional character vector of log messages, or data.frame with columns message, timestamp, and verbosity.

bookmarks

An optional integer vector of named bookmarks message in x.

See Also

Other inlabru log methods: bru_log(), bru_log_bookmark(), bru_log_message(), bru_log_offset(), bru_log_reset()

Examples

Run this code
x <- bru_log_new()
x <- bru_log_message("Test message", x = x)
print(x)

Run the code above in your browser using DataLab