Skip to contents

Generate control specifications for the ngme model

Usage

control_ngme(
  n_gibbs_samples = 5,
  fix_beta = FALSE,
  n_post_samples = 100,
  beta_init = NULL,
  debug = FALSE,
  ...
)

Arguments

n_gibbs_samples

number of gibbs samples at each iteration

fix_beta

logical, fix fixed effect estimation

n_post_samples

number of posterior samples, see ?ngme_post_samples()

beta_init

fixed effect initial value on the original design scale. If control_opt(standardize_fixed = TRUE) (the default), the vector is internally rotated/scaled to match the SVD-standardized design matrix before being passed to the optimizer. Provide values on the raw design scale; no manual rescaling is required.

debug

debug mode

Value

a list of control variables for ngme