Position methods for bru_log objects.
Usage
bru_log_offset(x = NULL, bookmark = NULL, offset = NULL)
bru_log_index(x = NULL, i, verbosity = NULL)Arguments
- x
A
bru_logobject. IfNULL, the globalinlabrulog is used.- 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.- i
indices specifying elements to extract. If
character, denotes the sequence between bookmarkiand the next bookmark (or the end of the log ifiis the last bookmark)- verbosity
integer value for limiting the highest verbosity level being returned.
Functions
bru_log_offset(): Utility function for computing log position offsets.bru_log_index(): Utility function for computing index vectors forbru_logobjects.
See also
Other inlabru log methods:
bru_log(),
bru_log_bookmark(),
bru_log_message(),
bru_log_new(),
bru_log_reset()