powered by
Calculates the number of free parameters in the model.
modelDim(model)
gRapHD class.
Number of free parameters in the model.
See Lauritzen (1996), pages 202-203, and 215-216 for more details.
Lauritzen, S.L. (1996) Graphical Models, Oxford University Press.
# NOT RUN { data(dsCont) m <- minForest(dsCont,stat="BIC") modelDim(m) # 102 m <- stepw(m,dsCont,stat="BIC") modelDim(m) # 149 # }
Run the code above in your browser using DataLab