update_s_pb: update_s

View source: R/update_s_pb.R

update_s_pbR Documentation

update_s

Description

Update values of s using data from Input and current values of other parameters.

Usage

update_s_pb(Model, mean_s = 0, sd_s = 10, cores = 1, verbose = FALSE)

Arguments

Model

a Model object of class gemini.model

mean_s

numeric indicating prior mean of s (default 0)

sd_s

numeric indicating prior sd of s (default 10)

cores

a numeric indicating the number of cores to use, see gemini_parallelization. default=1.

verbose

default FALSE

Value

An object of class gemini.model

Examples


data("Model", package = "gemini")
Model %<>% update_s_pb()


sellerslab/gemini documentation built on Dec. 5, 2022, 8:56 a.m.