update.smoothbp_fit: Update a fitted smoothbp model

View source: R/smoothbp.R

update.smoothbp_fitR Documentation

Update a fitted smoothbp model

Description

Re-fits the model, replacing any arguments supplied here with the corresponding values stored in the original fit for anything left unspecified.

Usage

## S3 method for class 'smoothbp_fit'
update(
  object,
  formula,
  b0,
  b1,
  deltas,
  omega,
  rho,
  data,
  priors,
  chains,
  iter,
  warmup,
  seed,
  step_om,
  step_rho,
  target_accept,
  cores,
  .verbose = TRUE,
  ...
)

Arguments

object

A smoothbp_fit object.

formula, b0, b1, deltas, omega, rho, data, priors, chains, iter, warmup, seed, step_om, step_rho, target_accept, cores, .verbose

Replacements for the corresponding arguments of smoothbp. Any argument not supplied is taken from object, including the original seed and sampler tuning parameters (step_om, step_rho, target_accept). To use a fresh seed or different tuning, supply them explicitly.

...

Ignored.

Value

A new smoothbp_fit object.


smoothbp documentation built on June 14, 2026, 9:06 a.m.