is_okerr | R Documentation |
These functions are used to filter succesful model fits from those that errored or gave warnings.
is_ok(x, ...)
## Default S3 method:
is_ok(x, ...)
## S3 method for class 'incidence2_fit'
is_ok(x, include_warnings = FALSE, ...)
is_error(x, ...)
## Default S3 method:
is_error(x, ...)
## S3 method for class 'incidence2_fit'
is_error(x, ...)
is_warning(x, ...)
## Default S3 method:
is_warning(x, ...)
## S3 method for class 'incidence2_fit'
is_warning(x, ...)
x |
The output of function |
... |
Not currently used. |
include_warnings |
Include results in output that triggered warnings but
not errors. Defaults to |
is_ok()
: returns rows from an <incidence2_fit>
object that did not
error (and optionally produce a warning).
is_error()
: returns rows from an <incidence2_fit>
object that errored.
is_warning()
: returns rows from an <incidence2_fit>
object that
produced warnings.
Tim Taylor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.