diff options
author | Suraj Yerramilli | 2015-08-21 17:40:17 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-08-21 17:40:17 +0530 |
commit | d5add16141ff386d8ec38ea7ff10e836d4340168 (patch) | |
tree | eb26ba03743c54f2c7457706ebcbda201482974f | |
parent | 797f010b3cc051128a09c03113faac41fd0da097 (diff) | |
download | SysID-R-code-d5add16141ff386d8ec38ea7ff10e836d4340168.tar.gz SysID-R-code-d5add16141ff386d8ec38ea7ff10e836d4340168.tar.bz2 SysID-R-code-d5add16141ff386d8ec38ea7ff10e836d4340168.zip |
added the time attribute for idframe objects
-rw-r--r-- | NAMESPACE | 1 | ||||
-rw-r--r-- | R/idframe.R | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ S3method(sim,default) S3method(sim,idpoly) S3method(summary,estARX) S3method(summary,idframe) +S3method(time,idframe) export("inputNames<-") export("outputNames<-") export(armax) diff --git a/R/idframe.R b/R/idframe.R index 8a2db47..700467c 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -95,6 +95,7 @@ print.summary.idframe <- function(object,...){ print(object$in_sum) } +#' @export time.idframe <- function(data){ time(data$output) } |