create_prior: Create prior functions

Description Usage Arguments

View source: R/create_prior.R

Description

Create prior functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
create_prior(
  fix_allom2 = TRUE,
  heteroskedastic = TRUE,
  verbose = TRUE,
  nsite = 1,
  limits = FALSE,
  best = TRUE,
  param_names = NULL,
  site_specific_var = FALSE
)

create_prior_sampler(
  fix_allom2 = TRUE,
  heteroskedastic = TRUE,
  nsite = 1,
  site_specific_var = FALSE,
  param_names = NULL
)

create_prior_density(
  fix_allom2 = TRUE,
  heteroskedastic = TRUE,
  verbose = TRUE,
  param_names = NULL,
  site_specific_var = FALSE
)

Arguments

fix_allom2

Logical. If 'TRUE', fix allometry exponent to prior mean. If 'FALSE', use full multivariate prior.

heteroskedastic

Logical. If 'TRUE', use heteroskedastic error model (with residual slope and intercept). If 'FALSE', use scalar residual.

verbose

Logical. If 'TRUE', print verbose error messages for invalid prior densities


ashiklom/edr-da documentation built on April 16, 2021, 9:33 p.m.