Bicop.to_json

Bicop.to_json(self) str

Convert the copula into a nlohmann::json object.

The JSON-like str is contains of three values named "fam", "rot", "par", "vt", respectively a string for the family name, an integer for the rotation, a numeric matrix for the parameters and a list of two strings for the variables types.

Returns:

The JSON-like str object containing the copula.