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_log
object. IfNULL
, the globalinlabru
log is used.- bookmark
character; The label for a bookmark with a stored offset.
- offset
integer; a position offset in the log, with
0L
pointing at the start of the log. If negative, denotes the pointabs(offset)
elements from tail of the log. Whenbookmark
is non-NULL, theoffset
applies a shift (forwards or backwards) to the bookmark list.- i
indices specifying elements to extract. If
character
, denotes the sequence between bookmarki
and the next bookmark (or the end of the log ifi
is 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_log
objects.
See also
Other inlabru log methods:
bru_log()
,
bru_log_bookmark()
,
bru_log_message()
,
bru_log_new()
,
bru_log_reset()