read.event_insertNA: Adds empty list elements of NAs (if vectors) to data read in...

View source: R/read.event_insertNA.R

read.event_insertNAR Documentation

Adds empty list elements of NAs (if vectors) to data read in read.event(). This is done by comparing to the time step indices stored in the object 'TIME'.

Description

Adds empty list elements of NAs (if vectors) to data read in read.event(). This is done by comparing to the time step indices stored in the object 'TIME'.

Usage

read.event_insertNA(thisout, TIME, filesind, filelist, t, tlist, var)

Arguments

thisout

is a list containing the relevant data.

TIME

is the list returned from UNIX_time().

filesind

is a vector of the indexes of the relevant files in the list of files.

filelist

is the list of files.

t

is the tine step indexes to return data at.

tlist

is the list of time step indexes for the files.

var

is a vector of the variables to to insert NAs to.


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