read.dat: Import .DAT files

View source: R/read.slv.R

read.datR Documentation

Import .DAT files

Description

The set of functions to import experimental dataset from DBSolveOptimum format .DAT file.
read.dat reads .DAT file and perform initial parsing.
import.dat creates ruData object from read.dat output.

Usage

read.dat(file)

import.dat(dat)

Arguments

file

filename of .DAT file.

dat

list object of format ruData.raw which is output of read.dat function.

Value

The returned value of import.dat is an object of class ruData which mode is list and structure corresponds to ruList. Second level is lists each of which has the following components:

data_id

character identifier of the dataset

data

experimental data of data.frame class

conditions

data.frame describing conditions

solver

character identifier of solver type: ode, explicit, implicit

error.type

description of error model, currently possible values are: "additive T", "additive F"

See Also

write.list

Examples

### read and save data from 'example4.dat'
filePath<-system.file(package = "dbs", "extdata/example4.dat")
dat_raw<-read.dat(filePath)
example4_ruData<-import.dat(dat_raw) 
write.list(example4_ruData, "example4_ruData.txt")

insysbio/dbs-package documentation built on Aug. 4, 2022, 2:11 p.m.