forLoopContentFitBayes: Regress each node on its parents.#'

View source: R/fitabn_bayes.R

forLoopContentFitBayesR Documentation

Regress each node on its parents.#'

Description

Regress each node on its parents.#'

Usage

forLoopContentFitBayes(
  child = NULL,
  dag = NULL,
  data.df = NULL,
  var.types = NULL,
  grouped.vars = NULL,
  group.ids = NULL,
  control = NULL,
  INLA.marginals = NULL,
  verbose = NULL,
  force.method = NULL,
  data.dists = NULL,
  mymodes = NULL,
  error.code = NULL,
  hessian.accuracy = NULL,
  mymargs = NULL
)

Arguments

child

integer of node to be regressed

var.types

vector of numeric encoding of distribution types. See get.var.types(data.dists)

INLA.marginals

vector of logicals indicating which nodes are to be fitted using INLA

mymodes

Empty list of modes for each node

error.code

Empty element of error codes for each node

hessian.accuracy

Empty element of hessian accuracies for each node

mymargs

Empty list of marginals for each node

Value

list of mlik, modes, marginals, error codes, hessian accuracies and a logical if INLA was used for each node.


abn documentation built on June 22, 2024, 10:23 a.m.