extractBeams: Extracts a beams from TSD-data, so that if a one dimensional...

View source: R/extractBeams.R

extractBeamsR Documentation

Extracts a beams from TSD-data, so that if a one dimensional variable has two dimensions, the first is regarded as beams and the apropriate time beams are extracted.

Description

Extracts a beams from TSD-data, so that if a one dimensional variable has two dimensions, the first is regarded as beams and the apropriate time beams are extracted.

Usage

extractBeams(data, beams = 1, var = "all", drop = FALSE)

Arguments

data

is the list of TSD inputs as returned from read.TSD.

beams

is an integer vectir giving the beams to extract.

var

is a vector of the TSD-names og the variable to extract the time step from. Variables that are not present in 'var' are returned unaltered. The default var='all' select all variables.

drop

Logical: If TRUE drop empty dimensionsof the output.


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.