set_SAR: Set up a spatial prior

View source: R/41_set_options.R

set_SARR Documentation

Set up a spatial prior

Description

Set up a spatial prior

Usage

set_SAR(
  lambda_a = 1.01,
  lambda_b = 1.01,
  lambda = 0,
  lambda_scale = 0.1,
  lambda_min = -1,
  lambda_max = 1 - 1e-12,
  delta_a = 1.01,
  delta_b = 1.01,
  delta = 1,
  delta_scale = 0,
  delta_min = 1e-12,
  delta_max = Inf
)

set_SLX(
  lambda_a = 1.01,
  lambda_b = 1.01,
  lambda = 0,
  lambda_scale = 0.1,
  lambda_min = -1,
  lambda_max = 1 - 1e-12,
  delta_a = 1.01,
  delta_b = 1.01,
  delta = 1,
  delta_scale = 0,
  delta_min = 1e-12,
  delta_max = Inf
)

set_SEM(
  lambda_a = 1.01,
  lambda_b = 1.01,
  lambda = 0,
  lambda_scale = 0.1,
  lambda_min = -1,
  lambda_max = 1 - 1e-12,
  delta_a = 1.01,
  delta_b = 1.01,
  delta = 1,
  delta_scale = 0,
  delta_min = 1e-12,
  delta_max = Inf
)

Arguments

lambda_a, lambda_b

Numeric scalars with the prior shapes of the connectivity strength 'lambda'.

lambda, delta

Numerics with starting values for the respective parameter.

lambda_scale

Numeric scalar with the proposal scale of 'lambda'.

lambda_min, lambda_max

Numeric scalars with upper and lower bounds for 'lambda'.

delta_a, delta_b

Numeric scalars with the prior shapes of the connectivity parameter 'delta'.

delta_scale

Numeric scalar with the proposal scale of 'delta'. Defaults to zero for a fixed value.

delta_min, delta_max

Numeric scalars with upper and lower bounds for 'delta'.

Value

Returns a list with priors and settings.


bsreg documentation built on March 18, 2022, 5:36 p.m.