summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Yerramilli2016-05-11 11:49:57 +0530
committerSuraj Yerramilli2016-05-11 11:49:57 +0530
commit21554f501f38ab4e6f81384d683f4720c341dc04 (patch)
tree794d7b3964ad8d5a66f1dc148ea2213f81121d94
parent26bb45d20c294df12e85bc79fc5e3964bd4f491d (diff)
downloadSysID-R-code-21554f501f38ab4e6f81384d683f4720c341dc04.tar.gz
SysID-R-code-21554f501f38ab4e6f81384d683f4720c341dc04.tar.bz2
SysID-R-code-21554f501f38ab4e6f81384d683f4720c341dc04.zip
R correcting package check errors
-rw-r--r--DESCRIPTION6
-rw-r--r--NAMESPACE1
-rw-r--r--R/idframe.R16
3 files changed, 11 insertions, 12 deletions
diff --git a/DESCRIPTION b/DESCRIPTION
index 97bfd31..cc44c17 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -7,9 +7,9 @@ Author: Suraj Yerramilli, Ashwin Raman, Narasimhan Balakrishnan, Arun Tangirala
Maintainer: Suraj Yerramilli <surajyerramilli@outlook.com>
Description: The sysid package provides functions for constructing mathematical
models of dynamic systems from measured input-output data. The package contains
- functions for data visualization, data preprocessing, parametric and non-
- paramteric model estimation, and model predictions and validation.
+ functions for data visualization, data pre-processing, parametric and non-
+ parametric model estimation, and model predictions and validation.
License: GPL-3
Imports:
- signal,tframe,zoo, ggplot2, reshape2, polynom
+ signal,tframe, zoo, ggplot2, reshape2, polynom, bitops
RoxygenNote: 5.0.1
diff --git a/NAMESPACE b/NAMESPACE
index 05f996c..4b91c94 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -3,7 +3,6 @@
S3method("%=%",lbunch)
S3method("inputNames<-",idframe)
S3method("outputNames<-",idframe)
-S3method(deltat,idframe)
S3method(frequency,idframe)
S3method(inputData,default)
S3method(inputData,idframe)
diff --git a/R/idframe.R b/R/idframe.R
index b1a91c7..decf919 100644
--- a/R/idframe.R
+++ b/R/idframe.R
@@ -109,19 +109,19 @@ print.summary.idframe <- function(x,...){
}
#' @export
-time.idframe <- function(data){
- time(data$output)
+time.idframe <- function(x){
+ time(x$output)
}
#' @export
-frequency.idframe <- function(data){
- frequency(data$output)
+frequency.idframe <- function(x){
+ frequency(x$output)
}
-#' @export
-deltat.idframe <- function(data){
- deltat(data$output)
-}
+# #' @export
+# deltat.idframe <- function(data){
+# deltat(data$output)
+# }
#' S3 class constructor for storing frequency response data
#'