extractTimeStep: Extracts a time step from TSD-data, so that if a one...

View source: R/extractTimeStep.R

extractTimeStepR Documentation

Extracts a time step from TSD-data, so that if a one dimensional variable has two dimensions, the second is regarded as time and the apropriate time steps i extracted.

Description

Extracts a time step from TSD-data, so that if a one dimensional variable has two dimensions, the second is regarded as time and the apropriate time steps i extracted.

Usage

extractTimeStep(data, t = 1, var = "all")

Arguments

data

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

t

is a single integer giving the time step 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.


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