diff options
author | Suraj Yerramilli | 2016-05-11 11:49:57 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2016-05-11 11:49:57 +0530 |
commit | 21554f501f38ab4e6f81384d683f4720c341dc04 (patch) | |
tree | 794d7b3964ad8d5a66f1dc148ea2213f81121d94 | |
parent | 26bb45d20c294df12e85bc79fc5e3964bd4f491d (diff) | |
download | SysID-R-code-21554f501f38ab4e6f81384d683f4720c341dc04.tar.gz SysID-R-code-21554f501f38ab4e6f81384d683f4720c341dc04.tar.bz2 SysID-R-code-21554f501f38ab4e6f81384d683f4720c341dc04.zip |
R correcting package check errors
-rw-r--r-- | DESCRIPTION | 6 | ||||
-rw-r--r-- | NAMESPACE | 1 | ||||
-rw-r--r-- | R/idframe.R | 16 |
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 @@ -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 #' |