summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorSuraj Yerramilli2016-05-15 23:27:53 +0530
committerSuraj Yerramilli2016-05-15 23:27:53 +0530
commita42fe89ba59be45eb4c8c61119c8e9af4faddbef (patch)
tree1ae9fed39a056950469caf379c246a5992596bdb /R
parent085e3ca5259632ef320f768fb79a9f374388cbd6 (diff)
downloadSysID-R-code-a42fe89ba59be45eb4c8c61119c8e9af4faddbef.tar.gz
SysID-R-code-a42fe89ba59be45eb4c8c61119c8e9af4faddbef.tar.bz2
SysID-R-code-a42fe89ba59be45eb4c8c61119c8e9af4faddbef.zip
updating arx documentation
Diffstat (limited to 'R')
-rw-r--r--R/estpoly.R6
1 files changed, 3 insertions, 3 deletions
diff --git a/R/estpoly.R b/R/estpoly.R
index 0407514..c47d1ff 100644
--- a/R/estpoly.R
+++ b/R/estpoly.R
@@ -163,9 +163,9 @@ residplot <- function(model,newdata=NULL){
#'
#' @examples
#' data(arxsim)
-#' model <- arx(arxsim,c(2,1,1))
-#' model
-#' plot(model) # plot the predicted and actual responses
+#' mod_arx <- arx(arxsim,c(1,2,2))
+#' mod_arx
+#' plot(mod_arx) # plot the predicted and actual responses
#'
#' @export
arx <- function(x,order=c(1,1,1),lambda=0.1,intNoise=FALSE,