blob: 24546dfe9f8efeb908076086d3a2ca147dada56a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
% Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/readData.R
\name{read.idframe}
\alias{read.idframe}
\title{Data input into a idframe object}
\usage{
read.idframe(data, freqData = FALSE, ninputs = 1, type = c("time",
"freq")[1], Ts = 1, tUnit = "sec")
}
\arguments{
\item{data}{a \code{data.frame} object}
\item{freqData}{a logical value indicating whether the file contains the list of
frequencies. If \code{TRUE}, they need to be present in the first column.
(Default: \code{idframe})}
\item{ninputs}{the number of input columns. (Default: 1)}
\item{type}{indicates the domain of the data (Default:\code{"time"})}
\item{Ts}{sampling interval (Default: 1)}
\item{tUnit}{Time Unit (Default: "seconds")}
}
\value{
an idframe object
}
\description{
Read the contents of a \code{data.frame} object into a \code{idframe} object.
}
\details{
If \code{type="freq"} and \code{freqData = TRUE}, then the first column in the file
should contain the frequencies.
}
\examples{
data(cstr)
data <- read.idframe(cstrData,ninputs=1,type="time",Ts= 1,tUnit="min")
}
|