View source: R/brmsfit-helpers.R
brmsfit_needs_refit | R Documentation |
Checks whether a given cached fit can be used without refitting when
file_refit = "on_change"
is used.
This function is internal and exposed only to facilitate debugging problems
with cached fits. The function may change or be removed in future versions
and scripts should not use it.
brmsfit_needs_refit(
fit,
sdata = NULL,
scode = NULL,
data = NULL,
algorithm = NULL,
silent = FALSE,
verbose = FALSE
)
fit |
Old |
sdata |
New Stan data (result of a call to |
scode |
New Stan code (result of a call to |
data |
New data to check consistency of factor level names.
Pass |
algorithm |
New algorithm. Pass |
silent |
Logical. If |
verbose |
Logical. If |
Use with verbose = TRUE
to get additional info on how the stored
fit differs from the given data and code.
A boolean indicating whether a refit is needed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.