R/update.R

#' Update and refit an \pkg{ouch} model
#'
#' `update` will update a model and re-fit.
#' This allows one to change the data and/or parameters.
#' 
#' @name update
#' @docType methods
#' @rdname update
#' @family methods for ouch trees
#' @importFrom stats update
#'
#' @return `update` returns a new fitted-model object of the same class as  `object`.
#' @param object fitted model object.
#' @param data data that replace those used in the original fit.
#' @param ... Additional arguments replace the corresponding arguments in the original call.
NULL
kingaa/ouch documentation built on April 24, 2024, 11:24 a.m.