replace.s2bak: Add model to object of class s2bak

View source: R/s2bak_fit.R

replace.s2bakR Documentation

Add model to object of class s2bak

Description

s2bak objects can be incomplete, for example when using the combine.s2bak function without specifying all arguments. This function allows the field of a given s2bak object to be replaced with a new fitted model of class s2bak.so, s2bak.s2 or s2bak.bak.

Usage

replace.s2bak(x, object)

Arguments

x

object of class s2bak.so, s2bak.s2 or s2bak.bak

object

object of class s2bak with fields to be replaced

#' @examples

See ?fit.s2bak

Value

Object of class s2bak, with the object slot replaced with x


leung-lab/s2bak documentation built on March 1, 2023, 9:10 a.m.