compile_pref_func {wdnet}R Documentation

Compile preference functions via RcppXPtrUtils.

Description

Compile preference functions via RcppXPtrUtils.

Usage

compile_pref_func(preference, directed)

Arguments

preference

A list for defining the preference functions.

directed

Logical, whether to compile the preference functions for directed networks. If missing, the preference functions for both directed and undirected networks will be compiled.

Value

Returns the input list and their corresponding external pointers.


[Package wdnet version 1.2.3 Index]