Bicop.to_json¶
- Bicop.to_json(self: pyvinecopulib.Bicop, filename: str) → None¶
Write the copula object into a JSON file.
The written file contains four attributes:
"family"
,"rotation"
,"parameters"
,"var_types"
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.- Parameter
filename
: The name of the file to write.
- Parameter