fit_glm_dag: Inference in Bayesian networks
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
fit_glm_dag(parents, dat, call = "lm.fit", ...)
Arguments
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.