Description Usage Arguments Details Value Author(s) See Also Examples
Reads in data in SSCF format. SSCF is a format used by Sable System Internationals ExpeData data acquisition and analysis software. All sub versions (plain vs. extended format) are supported.
1 | read.sscf(filename)
|
filename |
The file to be read in. |
After loading, the files contents are postprocessed to make them easier to use in R. This includes, among others, using channel names as the column names of the data matrix, conversion of markers to characters and merging of the split remarks.
The result is an object of class SSCFFile, basically a multivariate timeseries object (?mts) of the file data. Utility functions have been defined, which make access to the data straight forward (see examples below).
Additional information about the file (metadata) is available as attributes, which can be read via 'attr(x, attrname)'. The following attributes are defined:
version |
The SSCF version of the file. Current is 1.02 |
nchannel |
Number of channels. |
nsample |
Number of samples per channel. |
comment |
Comments embedded in the file. |
marker |
A table of marker positions and values. |
channelinfo |
A list of additional information for each channel. The list elements are named after the channel, making named access possible, i.e. attr(x, "channelinfo")$O2_A. For details of the available information see below. |
uservar |
A list of defined user variables. Name base list access may be used, i.e. attr(x. "uservar")$foo, especially when variable aliases were defined. By default the user variables are named K1..K50. |
setup |
Path to setup configuration file. |
raw |
If debug mode is turned on (with options(debug=TRUE) on the R prompt), the raw header and footer data from the file will additionally be provided. If you are writing code using this field, always check for debug mode or the existence of this field. |
The channelinfo list contains the following fields per channel:
title |
Name of the channel |
units |
Units of measurement, currently unused by ExpeData |
instrument |
The instrument the channel data was aquired with. |
add.1 |
Auxiliary data field 1. (currently unused) |
add.2 |
Auxiliary data field 2. (currently unused) |
tnum |
Transformation number of the channel (consult the ExpeData manual for details.) |
color |
Color to be used for plotting the channel |
aux |
Vector of 31 auxiliary values for the channel. This may contain calibration values etc. However, no standard interpretation is defined. |
Thomas Foerster foerster@sablesys.com
Attribute access via 'attr', 'attributes'.
'summary'
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.