summaryrefslogtreecommitdiff
path: root/R/sim.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/sim.R')
-rw-r--r--R/sim.R5
1 files changed, 3 insertions, 2 deletions
diff --git a/R/sim.R b/R/sim.R
index 35fe386..a3257f6 100644
--- a/R/sim.R
+++ b/R/sim.R
@@ -21,8 +21,9 @@
#'
#' @examples
#' # ARX Model
-#' u <- rnorm(200,sd=1)
-#' model <- idpoly(A=c(1,-1.5,0.7),B=c(0.8,-0.25),ioDelay=1)
+#' u <- idinput(300,"rgs")
+#' model <- idpoly(A=c(1,-1.5,0.7),B=c(0.8,-0.25),ioDelay=1,
+#' noiseVar=0.1)
#' y <- sim(model,u,addNoise=T)
#'
#' @export