merge_TSD_by_var: This function returns a list of indices of files of common...

View source: R/merge_TSD_by_var.R

merge_TSD_by_varR Documentation

This function returns a list of indices of files of common time (utim)/sailed distance (sadv), or if this list is given merges the common files.

Description

This function returns a list of indices of files of common time (utim)/sailed distance (sadv), or if this list is given merges the common files.

Usage

merge_TSD_by_var(
  files,
  var = "utim",
  ind = NULL,
  fun = weighted.mean,
  msg = FALSE,
  ...
)

Arguments

files

list of file names, seed the use in compr.event.

var

The variable used as the merging variable, e.g., "utim" or "sadv".

ind

A list of indices of common files. Each element of the list contains two or more file indices of files to be merged.

fun

funciton specifying how to merge the information in the common time interval.

msg

Logical: if TRUE print status bar.

...

Passed on to fun and write.TSD.


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