diff options
Diffstat (limited to 'R')
-rw-r--r-- | R/estpoly.R | 2 | ||||
-rw-r--r-- | R/rbs.R | 1 | ||||
-rw-r--r-- | R/rgs.R | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/R/estpoly.R b/R/estpoly.R index 0671f01..79b6f5c 100644 --- a/R/estpoly.R +++ b/R/estpoly.R @@ -29,7 +29,7 @@ residplot <- function(model,newdata=NULL){ u <- newdata$input } - acorr <- acf(e,plot = F); ccorr <- ccf(as.numeric(u),e,plot = F) + acorr <- acf(e,plot = F); ccorr <- ccf(u[,1],e,plot = F) par(mfrow=c(2,1),mar=c(3,4,3,2)) plot(acorr,main="ACF of residuals") plot(ccorr,main="CCF between the input and residuals",ylab="CCF") @@ -1,3 +1,4 @@ +#' @export idin.rbs <- function(n,band,levels){ # Function to generate a random binary # signal of given frequency band and levels @@ -1,3 +1,4 @@ +#' @export idin.rgs <- function(n,band,var){ # Function to generate a random Gaussian # signal of given frequency band and variance |