Learn R Programming

wrassp (version 1.0.5)

AsspDataFormat: 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

Value

a string representing the current data format

for AsspDataFormat<-, the updated object

Arguments

x

an object of class AsspDataObj

value

an integer or a string indicating the new data format

Author

Lasse Bombien

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.

See Also

AsspFileFormat