read.TSD_isnvar: Function identifying whether a sequence of bytes of length...

View source: R/read.TSD_isnvar.R

read.TSD_isnvarR Documentation

Function identifying whether a sequence of bytes of length 4*n at the current position is a float or not, and storing the item read.

Description

Function identifying whether a sequence of bytes of length 4*n at the current position is a float or not, and storing the item read.

Usage

read.TSD_isnvar(
  con,
  n = 1L,
  endian = .Platform$endian,
  max_var = 1e+10,
  fixed_endian = FALSE
)

Arguments

con

is a connection to a binary file, as returned by file(x,"rb").

n

is the number of elements to read.

endian

is the endianness of the file, changed if the float is not read properly.

max_var

is the maximum value accepted as float.

fixed_endian

is TRUE if the endian should not be swaped, and readable set to FALSE for wrong endian.


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