AsspDataFormat: Get/set data format of an AsspDataObj

View source: R/AsspDataObj.R

AsspDataFormatR Documentation

Get/set data format of an AsspDataObj

Description

Function to get or set the data format of an AsspDataObj.

Usage

AsspDataFormat(x)

AsspDataFormat(x)  <- value

Arguments

x

an object of class AsspDataObj

value

an integer or a string indicating the new data format

Details

libassp can store data in binary and ASCII format. This function enables the user to determine the data format of an object read from file and to set it for subsequent writing. Valid values are 'ascii' (or 1) for ASCII format or 'binary' (or 2) for binary IO. Use is discouraged unless the user knows what they are doing.

Value

a string representing the current data format

for AsspDataFormat<-, the updated object

Author(s)

Lasse Bombien

See Also

AsspFileFormat


wrassp documentation built on May 29, 2024, 2:39 a.m.