DVineStructure.from_file
- DVineStructure.from_file(filename: str, check: bool = True) pyvinecopulib.RVineStructure
Instantiates an RVineStructure from a JSON file.
The file needs to contain two values:
"array"
for the structure triangular array and"order"
for the order vector.- Parameters:
filename – The name of the JSON file to read.
check – Whether to check if the input represents a valid R-vine matrix.