createCppModel function

Creates a model

Creates a model

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()