Bicop.from_file
- Bicop.from_file(filename: str) pyvinecopulib.Bicop
Instantiates from a JSON file.
The input file contains four attributes:
"fam"
,"rot"
,"par"
,"vt"
respectively a string for the family name, an integer for the rotation, and a numeric matrix for the parameters, and a list of two strings for the variable types.- Parameters:
filename – The name of the JSON file to read.