Methods for bru_log bookmarks.
Arguments
- bookmark
character; The label for a bookmark with a stored offset.
- offset
integer; a position offset in the log, with
0Lpointing at the start of the log. If negative, denotes the pointabs(offset)elements from tail of the log. Whenbookmarkis non-NULL, theoffsetapplies a shift (forwards or backwards) to the bookmark list.- x
A
bru_logobject. IfNULL, the globalinlabrulog is used.
Value
bru_log_bookmark(): Returns the modified bru_log object if x
is non-NULL.
bru_log_bookmarks(): Returns the bookmark vector associated with
x
Functions
bru_log_bookmark(): Set a log bookmark. IfoffsetisNULL(the default), the bookmark will point to the current end of the log.bru_log_bookmarks(): Return a integer vector with named elements being bookmarks into the globalinlabrulog with associated log position offsets.
See also
Other inlabru log methods:
bru_log(),
bru_log_message(),
bru_log_new(),
bru_log_offset(),
bru_log_reset()