Loading (importing) a BIN file into the R platform.
character(required): name(s) of file(s) (with file extension ".BIN", ".bin", "BINX", or "binx"), the file(s) must be available from the current working directory. Example:
logical(optional): logical value indicating if the loaded data should be visualized in a Summary Table
Function loadBINdata is used for loading BIN (BINX) files into the R platform. Five versions of binary files (V3, V4, V6, V7, and V8) are loadable. It can load a single BIN (BINX) file or a number of files into R simultaneously.
Items reserved during the loading process include:
(1) Position: Carousel position;
(2) Grain: Grain number;
(3) Run: Run number;
(4) Set: Set number;
(5) DType: Data type, includes:
(6) IRRTime: Irradiation time;
(7) NPoints: number of data points;
(8) LType: Luminescence type, includes:
(9) Low: Low (temperature, time, wavelength);
(10) High: High (temperature, time, wavelength);
(11) Rate: Rate (temperature, time, wavelength);
(12) Temperature: Sample temperature;
(13) Delay: TOL "delay" channels;
(14) On: TOL "on" channels;
(15) Off: TOL "off" channels;
(16) LightSource: Light source, includes:
(17) AnTemp: Annealing temperature;
(18) TimeSinceIrr: Time since irradiation;
(19) Time: Data collection time;
(20) Date: Data collection date.
Return an invisible list of S3 class object
"loadBIN" containing the following elements:
a list containing loaded data records
a table (data.frame) summarizing items of loaded data records
We would like to appreciate Dr Lei Gao who prompts me to write this function and provides measured data sets to test this procedure.
Duller GAT, 2016. Analyst (v4.31.9), User Mannual.
pickBINdata; analyseBINdata; BIN
1 2 3 4 5 6
### Not run. ### Ensure that file "foo.bin" is available ### from the current working directory. # obj_loadBIN <- loadBINdata("foo.bin", view=TRUE) # class(obj_loadBIN) # obj_loadBIN$records
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.