diff options
author | Suraj Yerramilli | 2015-01-29 17:43:40 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-01-29 17:43:40 +0530 |
commit | a0824997c16869034c6f6df470330e9c9470b01e (patch) | |
tree | ca8183fe4f5ea4e6452732289650f116f83eaf81 /R/idframe.R | |
parent | d22d9280eab3d6109c856e8e42ee65bd753c94f7 (diff) | |
download | SysID-R-code-a0824997c16869034c6f6df470330e9c9470b01e.tar.gz SysID-R-code-a0824997c16869034c6f6df470330e9c9470b01e.tar.bz2 SysID-R-code-a0824997c16869034c6f6df470330e9c9470b01e.zip |
Added documentation via roxygen2
Diffstat (limited to 'R/idframe.R')
-rw-r--r-- | R/idframe.R | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/R/idframe.R b/R/idframe.R index f261300..4c72097 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -1,4 +1,18 @@ -# class idframe +#' S3 class for storing input-output data. +#' +#' \code{idframe} is an S3 class for storisupports discrete time and frequency domain data. +#' +#' @param output dataframe/matrix/vector containing the outputs +#' @param input dataframe/matrix/vector containing the inputs +#' @param type indicates the domain of the data (Default:"time") +#' @param Ts sampling interval (Default: 1) +#' @param t.start Starting time (Valid only if type="time") +#' @param t.end End time. Optional Argument (Valid only if type="time") +#' @param tUnit Time Unit (Default: "seconds") +#' @param frequencies Vector containing the list of frequencies at which the data was recorded (Valid only if type="frequency") +#' @param fUnit Frequency Unit (Valid only if type="frequency") +#' @return an idframe object +#' @export idframe <- function(output=numeric(0),input=numeric(0), type=c("time","freq")[1],Ts = 1, t.start=0,t.end=NA, tUnit = "seconds", |