summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-08-20 17:38:37 +0530
committerSuraj Yerramilli2015-08-20 17:38:37 +0530
commit406e12c7bca5e63ac303a3550f55f33138ebce29 (patch)
tree68277c675b8e20b674d513caf118cd9c16ce7d56 /R
parent1dadd97b87e44b99cadc8eca7fb41a3da78218ff (diff)
downloadSysID-R-code-406e12c7bca5e63ac303a3550f55f33138ebce29.tar.gz
SysID-R-code-406e12c7bca5e63ac303a3550f55f33138ebce29.tar.bz2
SysID-R-code-406e12c7bca5e63ac303a3550f55f33138ebce29.zip
Added a function to return the time samples
Diffstat (limited to 'R')
-rw-r--r--R/idframe.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/R/idframe.R b/R/idframe.R
index 9976454..8a2db47 100644
--- a/R/idframe.R
+++ b/R/idframe.R
@@ -95,6 +95,10 @@ print.summary.idframe <- function(object,...){
print(object$in_sum)
}
+time.idframe <- function(data){
+ time(data$output)
+}
+
#' S3 class for storing frequency response data
#'
#' @param response complex vector/matrix containing the response