summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NAMESPACE1
-rw-r--r--R/nonparam.R5
-rw-r--r--man/impulseest.Rd2
-rw-r--r--man/plot.impulseest.Rd2
-rw-r--r--man/spa.Rd13
-rw-r--r--man/step.Rd2
6 files changed, 21 insertions, 4 deletions
diff --git a/NAMESPACE b/NAMESPACE
index 89d5843..4e95d64 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -12,5 +12,6 @@ export(impulseest)
export(read.idframe)
export(read.table.idframe)
export(read.xls.idframe)
+export(spa)
export(step)
export(tf)
diff --git a/R/nonparam.R b/R/nonparam.R
index c6cdaa7..c9a081e 100644
--- a/R/nonparam.R
+++ b/R/nonparam.R
@@ -87,9 +87,12 @@ step <- function(model){
abline(h=0)
}
-#' Estimate frequency response with fixed frequency resolution using
+#' Estimate frequency response
+#'
+#' Estimates Frequency Response with fixed frequency resolution using
#' spectral analysis
#'
+#' @export
spa <- function(data,WinSize=NULL){
require(sapa)
temp <- cbind(data$y,data$u)
diff --git a/man/impulseest.Rd b/man/impulseest.Rd
index 4aab3de..dd8deb7 100644
--- a/man/impulseest.Rd
+++ b/man/impulseest.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
-% Please edit documentation in R/impulse.R
+% Please edit documentation in R/nonparam.R
\name{impulseest}
\alias{impulseest}
\title{Estimate Impulse Response Models}
diff --git a/man/plot.impulseest.Rd b/man/plot.impulseest.Rd
index d5337bf..b761162 100644
--- a/man/plot.impulseest.Rd
+++ b/man/plot.impulseest.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
-% Please edit documentation in R/impulse.R
+% Please edit documentation in R/nonparam.R
\name{plot.impulseest}
\alias{plot.impulseest}
\title{Impulse Response Plots}
diff --git a/man/spa.Rd b/man/spa.Rd
new file mode 100644
index 0000000..c32cffb
--- /dev/null
+++ b/man/spa.Rd
@@ -0,0 +1,13 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/nonparam.R
+\name{spa}
+\alias{spa}
+\title{Estimate frequency response}
+\usage{
+spa(data, WinSize = NULL)
+}
+\description{
+Estimates Frequency Response with fixed frequency resolution using
+spectral analysis
+}
+
diff --git a/man/step.Rd b/man/step.Rd
index e7d69bc..b67b585 100644
--- a/man/step.Rd
+++ b/man/step.Rd
@@ -1,5 +1,5 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
-% Please edit documentation in R/impulse.R
+% Please edit documentation in R/nonparam.R
\name{step}
\alias{step}
\title{Step Response Plots}