summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-02-06 10:59:47 +0530
committerSuraj Yerramilli2015-02-06 10:59:47 +0530
commit519f0ca7dc465d47a798096f7e4e21ae7bd9b517 (patch)
tree512e3d3b50a30cd03960530a17b370b86725d60e /R
parent910dcb93baac0f40f756556880ef6c8b8adbe4cf (diff)
downloadSysID-R-code-519f0ca7dc465d47a798096f7e4e21ae7bd9b517.tar.gz
SysID-R-code-519f0ca7dc465d47a798096f7e4e21ae7bd9b517.tar.bz2
SysID-R-code-519f0ca7dc465d47a798096f7e4e21ae7bd9b517.zip
changed attribute names
Diffstat (limited to 'R')
-rw-r--r--R/idframe.R6
1 files changed, 3 insertions, 3 deletions
diff --git a/R/idframe.R b/R/idframe.R
index efa42ae..7ccdf58 100644
--- a/R/idframe.R
+++ b/R/idframe.R
@@ -50,7 +50,7 @@ idframe <- function(output=numeric(0),input=numeric(0),
dat$Ts <- (t.end-t.start)/(n-1)
}
- dat$tStart <- t.start; dat$tEnd <- t.end
+ dat$t.start <- t.start; dat$t.end <- t.end
dat$tUnit <- tUnit
}
@@ -93,7 +93,7 @@ plot.idframe <- function(object,...){
.index <- function(object){
if(object$type=="time"){
- return(seq(from=object$tStart,to=object$tEnd,by=object$Ts))
+ return(seq(from=object$t.start,to=object$t.end,by=object$Ts))
} else {
return(object$frequencies)
}
@@ -112,7 +112,7 @@ summary.idframe <- function(object){
out <- list(outputs=out_sum,inputs=in_sum,Ts=object$Ts,type=object$type,
tUnit=object$tUnit,no_of_samples = dim(object$output)[1])
if(object$type=="time"){
- out$tStart <- object$tStart;out$tEnd <- object$tEnd
+ out$t.start <- object$t.start;out$t.end <- object$t.end
} else{
out$frequencies <- summary(object$frequencies);out$fUnit <- object$fUnit
}