arviz.InferenceData.add_groups#
- InferenceData.add_groups(group_dict=None, coords=None, dims=None, **kwargs)[source]#
Add new groups to InferenceData object.
- Parameters
- group_dict: dict of {strdict or xarray.Dataset}, optional
Groups to be added
- coordsdict[str] -> ndarray
Coordinates for the dataset
- dimsdict[str] -> list[str]
Dimensions of each variable. The keys are variable names, values are lists of coordinates.
- **kwargs: mapping
The keyword arguments form of group_dict. One of group_dict or kwargs must be provided.