summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NAMESPACE2
-rw-r--r--R/sim.R2
-rw-r--r--man/sim.arx.Rd4
-rw-r--r--man/sim.idpoly.Rd4
4 files changed, 10 insertions, 2 deletions
diff --git a/NAMESPACE b/NAMESPACE
index 5b305c1..ea80b3e 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -17,6 +17,7 @@ S3method(summary,estARX)
S3method(summary,idframe)
export(armax)
export(arx)
+export(bj)
export(dataSlice)
export(detrend)
export(estARX)
@@ -26,6 +27,7 @@ export(idfrd)
export(idpoly)
export(impulseest)
export(misdata)
+export(oe)
export(read.idframe)
export(read.table.idframe)
export(read.xls.idframe)
diff --git a/R/sim.R b/R/sim.R
index 2e46b10..c6565a5 100644
--- a/R/sim.R
+++ b/R/sim.R
@@ -13,6 +13,7 @@ sim.default <- function(model,input,sigma=0,seed=NULL){
#' @param model an object of class \code{arx} containing the coefficients
#' @param input a vector/matrix containing the input
#' @param sigma standard deviation of the innovations (Default= \code{0})
+#' @param seed integer indicating the seed value of the random number generator
#'
#' @return
#' a vector containing the output
@@ -61,6 +62,7 @@ sim.arx <- function(model,input,sigma=0,seed=NULL){
#' @param model an object of class \code{idpoly} containing the coefficients
#' @param input a vector/matrix containing the input
#' @param sigma standard deviation of the innovations (Default= \code{0})
+#' @param seed integer indicating the seed value of the random number generator
#'
#' @return
#' a vector containing the output
diff --git a/man/sim.arx.Rd b/man/sim.arx.Rd
index 8ad3ad9..9707729 100644
--- a/man/sim.arx.Rd
+++ b/man/sim.arx.Rd
@@ -4,7 +4,7 @@
\alias{sim.arx}
\title{Simulate from an ARX Model}
\usage{
-\method{sim}{arx}(model, input, sigma = 0)
+\method{sim}{arx}(model, input, sigma = 0, seed = NULL)
}
\arguments{
\item{model}{an object of class \code{arx} containing the coefficients}
@@ -12,6 +12,8 @@
\item{input}{a vector/matrix containing the input}
\item{sigma}{standard deviation of the innovations (Default= \code{0})}
+
+\item{seed}{integer indicating the seed value of the random number generator}
}
\value{
a vector containing the output
diff --git a/man/sim.idpoly.Rd b/man/sim.idpoly.Rd
index 2eb302a..bfac1fa 100644
--- a/man/sim.idpoly.Rd
+++ b/man/sim.idpoly.Rd
@@ -4,7 +4,7 @@
\alias{sim.idpoly}
\title{Simulate from a Polynomial Model}
\usage{
-\method{sim}{idpoly}(model, input, sigma = 1)
+\method{sim}{idpoly}(model, input, sigma = 0, seed = NULL)
}
\arguments{
\item{model}{an object of class \code{idpoly} containing the coefficients}
@@ -12,6 +12,8 @@
\item{input}{a vector/matrix containing the input}
\item{sigma}{standard deviation of the innovations (Default= \code{0})}
+
+\item{seed}{integer indicating the seed value of the random number generator}
}
\value{
a vector containing the output