bd_decode {BCDAG}R Documentation

Convert strings into matrices (internal function)

Description

This function restores matrices from string objects. It is implemented in several functions, such as get_causal_effect and get_edge_probs, when output of learn_DAG was obtained with save.memory = TRUE

Usage

bd_decode(string, separator = ";")

Arguments

string

a string to convert into matrix

separator

symbol used to separate elements in the input string

Value

The (q,q) original matrix from which the string vector was created using the internal function bd_encode


[Package BCDAG version 1.0.0 Index]