bru_log_reset | R Documentation |
Clears the log contents up to
a given offset
or bookmark
. Default: clear the entire log.
When x
is NULL, the global inlabru
log is updated, and invisible(NULL)
is returned. Otherwise the updated object is returned (invisibly).
bru_log_reset(x = NULL, bookmark = NULL, offset = NULL)
x |
A |
bookmark |
character; The label for a bookmark with a stored offset. |
offset |
integer; a position offset in the log, with |
Returns (invisibly) the modified bru_log
object, or NULL
(when
x
is NULL
)
Other inlabru log methods:
bru_log()
,
bru_log_bookmark()
,
bru_log_message()
,
bru_log_new()
,
bru_log_offset()
## Not run:
if (interactive()) {
bru_log_reset()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.