createCppModel {lolog} | R Documentation |
Creates a model
Description
Creates a model
Usage
createCppModel(formula, cloneNet = TRUE, theta = NULL)
Arguments
formula |
the model formula |
cloneNet |
create a deep copy of the network within the model object |
theta |
the model parameters. |
Details
Creates a C++ Model object. In general this isn't needed by most users of the package.
Examples
data(ukFaculty)
model <- createCppModel(ukFaculty ~ edges)
model$calculate()
model$statistics()
[Package lolog version 1.3.1 Index]