createCppModel: Creates a model

Description Usage Arguments Details Examples

View source: R/cpp-model.R

Description

Creates a model

Usage

1
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

1
2
3
4
data(ukFaculty)
model <- createCppModel(ukFaculty ~ edges)
model$calculate()
model$statistics()

lolog documentation built on July 1, 2021, 9:09 a.m.