@@ -17,8 +17,8 @@ Construct an inference data from either a `NamedTuple` or keyword arguments of g
1717
1818Groups must be [`Dataset`](@ref) objects.
1919
20- Instead of directly creating an `InferenceData`, use the exported `from_xyz` functions or
21- [`convert_to_inference_data`](@ref).
20+ Instead of directly creating an [ `InferenceData`](@ref) , use the exported `from_xyz`
21+ functions or [`convert_to_inference_data`](@ref).
2222"""
2323struct InferenceData{group_names,group_types<: Tuple{Vararg{Dataset}} }
2424 groups:: NamedTuple{group_names,group_types}
@@ -57,10 +57,13 @@ Base.getproperty(data::InferenceData, k::Symbol) = getproperty(parent(data), k)
5757 Base.getindex(data::InferenceData, groups::Symbol; coords...) -> Dataset
5858 Base.getindex(data::InferenceData, groups; coords...) -> InferenceData
5959
60- Return a new `InferenceData` containing the specified groups sliced to the specified coords.
60+ Return a new [`InferenceData`](@ref) containing the specified groups sliced to the
61+ specified `coords`.
6162
62- `coords` specifies a dimension name mapping to an index, a `DimensionalData.Selector`, or
63- an `IntervalSets.AbstractInterval`.
63+ `coords` specifies a dimension name mapping to an index, a
64+ [`DimensionalData.Selector`](https://rafaqz.github.io/DimensionalData.jl/stable/selectors),
65+ or an
66+ [`IntervalSets.AbstractInterval`](https://juliamath.github.io/IntervalSets.jl/stable/api/#IntervalSets.AbstractInterval).
6467
6568If one or more groups lack the specified dimension, a warning is raised but can be ignored.
6669All groups that contain the dimension must also contain the specified indices, or an
@@ -116,8 +119,8 @@ with metadata Dict{String, Any} with 1 entry:
116119 "created_at" => "2022-08-11T11:15:21.4"
117120```
118121
119- Select data from just the posterior, returning a `Dataset` if the indices index more than
120- one element from any of the variables:
122+ Select data from just the posterior, returning a [ `Dataset`](@ref) if the indices index more
123+ than one element from any of the variables:
121124
122125```@repl getindex
123126julia> idata[:observed_data, id=At(["a"])]
164167"""
165168 Base.setindex(data::InferenceData, group::Dataset, name::Symbol) -> InferenceData
166169
167- Create a new `InferenceData` containing the `group` with the specified `name`.
170+ Create a new [ `InferenceData`](@ref) containing the `group` with the specified `name`.
168171
169172If a group with `name` is already in `data`, it is replaced.
170173"""
0 commit comments