select.Frames {flowcatchR} | R Documentation

## Extracts subsets of frames from a `Frames` object

### Description

An input `Frames` object is subject to subsetting. This function is useful e.g. when the trajectory of interest is presenting gaps (i.e. does not actually include a frame)

### Usage

    select.Frames(frames, framesToKeep = 1, ...)

### Arguments

`frames` | A `Frames` object
`framesToKeep` | A vector containing the indexes of the frames to keep in the selection
`...` | Arguments to be passed to methods

### Value

A `Frames` object, composed by the subset of frames of the input `Frames`

### Author(s)

Federico Marini, marinif@uni-mainz.de, 2014

### Examples

    data("MesenteriumSubset")
    select.Frames(MesenteriumSubset, framesToKeep = c(1:10, 14:20))

[Package flowcatchR version 1.14.0 Index]