RVineStructure.to_json

RVineStructure.to_json(self: pyvinecopulib.RVineStructure, filename: str) None

Write the structure into a JSON file.

The written file contains two values: "array" for the structure triangular array and "order" for the order vector.

Parameters:

filename – The name of the file to write.