diff options
author | Suraj Yerramilli | 2016-05-15 23:26:57 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2016-05-15 23:26:57 +0530 |
commit | 085e3ca5259632ef320f768fb79a9f374388cbd6 (patch) | |
tree | e891baa08689f1c32a2e7b796e1dfa01bab57cb2 /man | |
parent | 088a69448202aacd3c1d1050ef0802bff39b868c (diff) | |
download | SysID-R-code-085e3ca5259632ef320f768fb79a9f374388cbd6.tar.gz SysID-R-code-085e3ca5259632ef320f768fb79a9f374388cbd6.tar.bz2 SysID-R-code-085e3ca5259632ef320f768fb79a9f374388cbd6.zip |
updating documentation to match new datasets
Diffstat (limited to 'man')
-rw-r--r-- | man/compare.Rd | 4 | ||||
-rw-r--r-- | man/predict.estpoly.Rd | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/man/compare.Rd b/man/compare.Rd index 28e91c7..3700f0a 100644 --- a/man/compare.Rd +++ b/man/compare.Rd @@ -20,7 +20,9 @@ data, for comparison. } \examples{ data(arxsim) -compare(data,nahead=Inf,mod1,mod2,mod3) +mod1 <- arx(arxsim,c(1,2,2)) +mod2 <- oe(arxsim,c(2,1,1)) +compare(arxsim,nahead=Inf,mod1,mod2) } \seealso{ diff --git a/man/predict.estpoly.Rd b/man/predict.estpoly.Rd index 511ed71..4c19ed5 100644 --- a/man/predict.estpoly.Rd +++ b/man/predict.estpoly.Rd @@ -23,9 +23,10 @@ Predicts the output of an identified model (\code{estpoly}) object K steps ahead } \examples{ data(arxsim) -Yhat <- predict(mod1,data) # 1-step ahead predictions -Yhat_2 <- predict(mod1,data,nahead=2) # 2-step ahead predictions -Yhat_inf <- predict(mod1,data,nahead=Inf) # Infinite-step ahead predictions +mod1 <- oe(arxsim,c(2,1,1)) +Yhat <- predict(mod1,arxsim) # 1-step ahead predictions +Yhat_2 <- predict(mod1,arxsim,nahead=2) # 2-step ahead predictions +Yhat_inf <- predict(mod1,arxsim,nahead=Inf) # Infinite-step ahead predictions } \references{ |