Learn R Programming

caugi (version 1.0.0)

.node_constructor: Node constructor

Description

A simple wrapper creating a data.table object with a single column name.

Usage

.node_constructor(names = character(), sort = FALSE)

Value

A data.table object with a single column name.

Arguments

names

Character vector of node names.

sort

Logical indicating whether to sort the node names.

Details

The reason this exists is so if changes should be made in the future, it is easy to simply change this constructor, rather than changing the calls to data.table all over the place.