summaryrefslogtreecommitdiff
path: root/R/idframe.R
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-01-17 18:07:41 +0530
committerSuraj Yerramilli2015-01-17 18:07:41 +0530
commit32712750209803f4575247e5cddd86a9e1e201d0 (patch)
tree6c2925b2a845a03e41a88f56b21a325b4b22fdb2 /R/idframe.R
parentd8668101b02036bb998433b458959b93a7bdf2c3 (diff)
downloadSysID-R-code-32712750209803f4575247e5cddd86a9e1e201d0.tar.gz
SysID-R-code-32712750209803f4575247e5cddd86a9e1e201d0.tar.bz2
SysID-R-code-32712750209803f4575247e5cddd86a9e1e201d0.zip
Added skeleton for the idframe class
Diffstat (limited to 'R/idframe.R')
-rw-r--r--R/idframe.R26
1 files changed, 26 insertions, 0 deletions
diff --git a/R/idframe.R b/R/idframe.R
new file mode 100644
index 0000000..522f351
--- /dev/null
+++ b/R/idframe.R
@@ -0,0 +1,26 @@
+# class idframe
+idframe <- function(output=data.frame(numeric(0)),input=data.frame(numeric(0)),
+ type=c("time","freq")[1],Ts = 1,
+ outputnames = colnames(output),inputnames = colnames(input),
+ t.start=0,t.end=NA, timeUnit = "seconds",
+ frequencies = NA, freqUnit= NA){
+ out <- list(output=output,input=input,type=type,Ts=Ts)
+ class(out) <- "idframe"
+ return(out)
+}
+
+# print method for idframe class
+print.idframe <- function(object,...){
+
+}
+
+# plot method for idframe object
+plot.idframe <- function(object,...){
+
+}
+
+# summary method for idframe object
+summary.idframe <- function(object,...){
+
+}
+