Skip to content

Create subsets with labels #59

Description

@bgctw

When working with parameter sets, often a subset of parameters are optimized, or studied in a sensitivity analysis. Extracting subsets is currently difficult with LabelledArrays.

Therefore, a subset function would be nice.

julia> zs = SLVector(a=1.0,b=2.0,c=3.0);
julia> zsSub = subset(zs, (:c,:a))
2-element SLArray{Tuple{2},Float64,1,2,(:c, :a)}:
 3.0
 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions