summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorSuraj Yerramilli2017-01-06 11:28:44 -0600
committerSuraj Yerramilli2017-01-06 11:28:44 -0600
commit511acafac847aa4fc5248b19f8279a457e9f15d7 (patch)
treed47a925d643ef10553717e111268f0baeac146ac /R
parent1b1809ac7a1b33115dd3c11cc5d60ae04108e898 (diff)
downloadSysID-R-code-511acafac847aa4fc5248b19f8279a457e9f15d7.tar.gz
SysID-R-code-511acafac847aa4fc5248b19f8279a457e9f15d7.tar.bz2
SysID-R-code-511acafac847aa4fc5248b19f8279a457e9f15d7.zip
corrections to documentation, imports, NAMESPACE
Diffstat (limited to 'R')
-rw-r--r--R/imports.R4
-rw-r--r--R/preprocess.R1
-rw-r--r--R/util.R2
3 files changed, 6 insertions, 1 deletions
diff --git a/R/imports.R b/R/imports.R
new file mode 100644
index 0000000..8cbf480
--- /dev/null
+++ b/R/imports.R
@@ -0,0 +1,4 @@
+#' @importFrom stats predict resid arima ts start ar ccf coef fitted lm mvfft rnorm window
+#' @importFrom graphics par plot
+#' @importFrom utils read.table tail
+NULL \ No newline at end of file
diff --git a/R/preprocess.R b/R/preprocess.R
index 7bdada3..27aaf0c 100644
--- a/R/preprocess.R
+++ b/R/preprocess.R
@@ -114,6 +114,7 @@ trInfo <- function(InputOffset=numeric(0),OutputOffset=numeric(0),
#' summary(cstr_mis) # finding out the number of NAs
#' cstr <- misdata(cstr_mis)
#'
+#' @importFrom zoo na.approx
#' @export
misdata <- function(data){
if (!requireNamespace("zoo", quietly = TRUE)) {
diff --git a/R/util.R b/R/util.R
index c2c67f8..bf92808 100644
--- a/R/util.R
+++ b/R/util.R
@@ -3,7 +3,7 @@
#'
#' Assign multiple variables from a list or function return object
#'
-#' @param lhs,rhs the variables to be assingned, and the list or
+#' @param l,r the variables to be assigned, and the list or
#' function return object
#'
#' @export