View source: R/class-NIW-IA-stanfit.R
stanfit_needs_refit | R Documentation |
ideal_adaptor_stanfit
can be used.Checks whether a given cached fit can be used without refitting when
file_refit = "on_change"
is used.
stanfit_needs_refit(
x,
current_version = get_current_versions(),
data = NULL,
staninput = NULL,
silent = FALSE,
verbose = FALSE
)
x |
Old |
current_version |
Current version of relevant packages. (default: will be automatically obtained from current packages). |
data |
New data to check consistency of factor level names. (default: |
staninput |
New Stan data (result of a call to |
silent |
Logical. If |
verbose |
Logical. If |
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.