From 310ec170df8b3a593c3ac1c4be1a4526fa07f8ef Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Sun, 15 May 2016 19:04:00 +0530 Subject: correcting objects used in documentation examples --- man/armax.Rd | 2 +- man/arx.Rd | 2 +- man/bj.Rd | 2 +- man/oe.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/armax.Rd b/man/armax.Rd index 8e86575..18310d7 100644 --- a/man/armax.Rd +++ b/man/armax.Rd @@ -59,7 +59,7 @@ using the \code{\link{detrend}} function. } \examples{ data(armaxsim) -z <- dataSlice(data,end=1533) # training set +z <- dataSlice(armaxsim,end=1533) # training set mod_armax <- armax(z,c(1,2,1,2)) mod_armax diff --git a/man/arx.Rd b/man/arx.Rd index c322e72..fd0a89d 100644 --- a/man/arx.Rd +++ b/man/arx.Rd @@ -55,7 +55,7 @@ order to be zero. } \examples{ data(arxsim) -model <- arx(data,c(2,1,1)) +model <- arx(arxsim,c(2,1,1)) model plot(model) # plot the predicted and actual responses diff --git a/man/bj.Rd b/man/bj.Rd index 563a761..b6a7cfc 100644 --- a/man/bj.Rd +++ b/man/bj.Rd @@ -72,7 +72,7 @@ using the \code{\link{detrend}} function. } \examples{ data(bjsim) -z <- dataSlice(data,end=1500) # training set +z <- dataSlice(bjsim,end=1500) # training set mod_bj <- bj(z,c(2,1,1,1,2)) mod_bj residplot(mod_bj) # residual plots diff --git a/man/oe.Rd b/man/oe.Rd index 86239d2..f5a56bc 100644 --- a/man/oe.Rd +++ b/man/oe.Rd @@ -56,7 +56,7 @@ using the \code{\link{detrend}} function. } \examples{ data(oesim) -z <- dataSlice(data,end=1533) # training set +z <- dataSlice(oesim,end=1533) # training set mod_oe <- oe(z,c(2,1,2)) mod_oe plot(mod_oe) # plot the predicted and actual responses -- cgit