fit_glm_dag: Inference in Bayesian networks

Description Usage Arguments Details

Description

Basic computing engine called by estimate.parameters for fitting parameters in a Bayesian network. Should not be used directly unless by experienced users.

Usage

1
fit_glm_dag(parents, dat, call = "lm.fit", ...)

Arguments

parents

edgeList object.

dat

Data.

call

Either "lm.fit" or "glm.fit".

...

If call = "glm.fit", specify family here. Also allows for other parameters to lm.fit and glm.fit.

Details

Can call either lm.fit or glm.fit, with any choice of family.


itsrainingdata/sparsebnUtils documentation built on June 5, 2019, 5:43 p.m.