% Generated by roxygen2 (4.1.1): 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 = NULL, 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: \code{NULL})} \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 data.frame/matrix 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") }