summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Yerramilli2016-05-15 23:27:53 +0530
committerSuraj Yerramilli2016-05-15 23:27:53 +0530
commita42fe89ba59be45eb4c8c61119c8e9af4faddbef (patch)
tree1ae9fed39a056950469caf379c246a5992596bdb
parent085e3ca5259632ef320f768fb79a9f374388cbd6 (diff)
downloadSysID-R-code-a42fe89ba59be45eb4c8c61119c8e9af4faddbef.tar.gz
SysID-R-code-a42fe89ba59be45eb4c8c61119c8e9af4faddbef.tar.bz2
SysID-R-code-a42fe89ba59be45eb4c8c61119c8e9af4faddbef.zip
updating arx documentation
-rw-r--r--R/estpoly.R6
-rw-r--r--man/arx.Rd6
2 files changed, 6 insertions, 6 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,
diff --git a/man/arx.Rd b/man/arx.Rd
index fd0a89d..f55db17 100644
--- a/man/arx.Rd
+++ b/man/arx.Rd
@@ -55,9 +55,9 @@ order to be zero.
}
\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
}
\references{