fit_glm_dag: Inference in Bayesian networks

Description Usage Arguments Details

View source: R/sparsebnUtils-inference.R

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.


sparsebnUtils documentation built on Jan. 27, 2021, 9:05 a.m.