update_s_pb: update_s

Description Usage Arguments Value Examples

View source: R/update_s_pb.R

Description

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

Usage

1
2
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

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

gemini documentation built on Nov. 8, 2020, 8:22 p.m.