summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-06-06 21:08:42 +0530
committerSuraj Yerramilli2015-06-06 21:08:42 +0530
commit17294fc2555e107198de5fbb27122e1fdddb6593 (patch)
treec6b080554d815bb77023998b3808b94c722df065 /R
parente4efc4e9fe9a5caaa53a30b206a1b0070edc80ff (diff)
downloadSysID-R-code-17294fc2555e107198de5fbb27122e1fdddb6593.tar.gz
SysID-R-code-17294fc2555e107198de5fbb27122e1fdddb6593.tar.bz2
SysID-R-code-17294fc2555e107198de5fbb27122e1fdddb6593.zip
Documenting idfrd
Diffstat (limited to 'R')
-rw-r--r--R/idframe.R16
1 files changed, 15 insertions, 1 deletions
diff --git a/R/idframe.R b/R/idframe.R
index 2bdd4ce..b06d0ba 100644
--- a/R/idframe.R
+++ b/R/idframe.R
@@ -170,7 +170,21 @@ print.summary.idframe <- function(object,...){
}
#' S3 class for storing frequency response data
-#'
+#'
+#' @param response complex vector/matrix containing the response
+#' @param freq the frequencies at which the response is observed/estimated
+#' @param Ts sampling time of data
+#'
+#' @return an idfrd object
+#'
+#' @note
+#' The class can currently store only SISO Responses. Future versions will
+#' have support for multivariate data
+#'
+#' @seealso
+#' \code{\link{plot.idfrd}} for generating bode plots; \code{\link{spa}} and
+#' \code{\link{etfe}} for estimating the frequency response given input/output data
+#'
#' @export
idfrd <- function(response,freq,Ts){
out <- list(response=response,freq=freq,Ts=Ts)