class_docstr: Calculate model-level residuals diagnostics
  
  Parameters
  -----------
  variables : str or array_like of str, optional
      Variables for which the profiles will be calculated
      (default is `None`, which means all of the variables).
  
  Attributes
  -----------
  result : pd.DataFrame
      Main result attribute of an explanation.
  variables : array_like of str or None
      Variables for which the profiles will be calculated.
  
  Notes
  --------
  - https://pbiecek.github.io/ema/residualDiagnostic.html
code: def __init__(self, variables=None):
      _variables = checks.check_variables(variables)
  
      self.result = pd.DataFrame()
      self.variables = _variables
  
file_path: DALEX/python/dalex/dalex/model_explanations/_residual_diagnostics/object.py
imports: import numpy
  import pandas
  import plotly.express
  from .None import checks
  from ...None import _theme, _global_checks, _global_utils
  from ..._explanation import Explanation
label_desc: Use image node_id 1 to create a new ResidualDiagnostics object from inherited base classes: Explanation with example: obj = ResidualDiagnostics(variables)