build: Build the 'caugi' graph

View source: R/verbs.R

buildR Documentation

Build the caugi graph

Description

Forces lazy compilation of the caugi graph without running a specific query. Useful to pre-initialize the graph.

Usage

build(cg)

Arguments

cg

A caugi object.

Value

The input caugi object (invisibly), with its graph built.

See Also

Other verbs: caugi_verbs

Examples

cg <- caugi(A %-->% B, class = "DAG")
build(cg) # initialize graph without querying


caugi documentation built on Oct. 28, 2026, 1:07 a.m.