From a42fe89ba59be45eb4c8c61119c8e9af4faddbef Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Sun, 15 May 2016 23:27:53 +0530 Subject: updating arx documentation --- R/estpoly.R | 6 +++--- man/arx.Rd | 6 +++--- 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{ -- cgit