is.TSD: Tests whether the file(s) given by 'x' has the Time Step Data...

View source: R/is.TSD.R

is.TSDR Documentation

Tests whether the file(s) given by 'x' has the Time Step Data format (TSD) by reading the first four bytes as character and comparing to the TSD file header "%TSD".

Description

Tests whether the file(s) given by 'x' has the Time Step Data format (TSD) by reading the first four bytes as character and comparing to the TSD file header "%TSD".

Usage

is.TSD(x, recursive = TRUE, accept.dir = TRUE)

Arguments

x

is a directory or a vector of file paths.

recursive

is used in list.files() when 'x' is a directory.

accept.dir

is TRUE to permit giving 'x' as a directory, which is only used for a special reason in read.TSD().


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.