select_scan_series: Pick out some of the series of a scan

View source: R/MizerScan-class.R

select_scan_seriesR Documentation

Pick out some of the series of a scan

Description

The series of a scan need not be species: a scan of getMeanWeight() has a single series that no model has ever heard of. So the selection is made against the series the scan actually holds rather than through valid_species_arg(), which would reject anything that is not a species in the model.

Usage

select_scan_series(available, species)

Arguments

available

The Species column of the scan.

species

The series asked for, as names, as whole-number indices into the series of the scan, or as a logical vector with one entry per series. Must select at least one.

Value

A logical vector selecting the rows to keep.


mizer documentation built on Aug. 24, 2026, 9:08 a.m.