From 01ffcb39a04d4999b2c1e5974cb56b674c7b9cce Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Sun, 15 May 2016 23:59:39 +0530 Subject: correcting sim syntax in documentation --- man/iv4.Rd | 2 +- man/sim.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/iv4.Rd b/man/iv4.Rd index 45755fc..77b794c 100644 --- a/man/iv4.Rd +++ b/man/iv4.Rd @@ -40,7 +40,7 @@ to the IV function with the same instrument filters as in the second stage. \examples{ mod_dgp <- idpoly(A=c(1,-0.5),B=c(0.6,-.2),C=c(1,0.6),ioDelay = 2,noiseVar = 0.1) u <- idinput(400,"prbs") -y <- sim(mod_dgp,u,T) +y <- sim(mod_dgp,u,addNoise=TRUE) z <- idframe(y,u) mod_iv4 <- iv4(z,c(1,2,2)) diff --git a/man/sim.Rd b/man/sim.Rd index 9aa1d11..a40ba29 100644 --- a/man/sim.Rd +++ b/man/sim.Rd @@ -36,7 +36,7 @@ include support for MIMO systems. 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) +y <- sim(model,u,addNoise=TRUE) } -- cgit