modelDim {gRapHD} | R Documentation |
Calculates the number of free parameters in the model.
modelDim(model)
model |
gRapHD class. |
See Lauritzen (1996), pages 202-203, and 215-216 for more details.
Number of free parameters in the model.
Gabriel Coelho Goncalves de Abreu (Gabriel.Abreu@agrsci.dk)
Rodrigo Labouriau (Rodrigo.Labouriau@agrsci.dk)
David Edwards (David.Edwards@agrsci.dk)
Lauritzen, S.L. (1996) Graphical Models, Oxford University Press.
data(dsMixed) m <- minForest(dsMixed,homog=TRUE,stat="LR") modelDim(m) # 71 m <- minForest(dsMixed,homog=FALSE,stat="LR") modelDim(m) # 111