summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/estUtil.R7
-rw-r--r--man/getcov.Rd16
2 files changed, 23 insertions, 0 deletions
diff --git a/R/estUtil.R b/R/estUtil.R
index bde025c..8e0e816 100644
--- a/R/estUtil.R
+++ b/R/estUtil.R
@@ -119,6 +119,13 @@ optimOptions <- function(tol=1e-5,maxIter=20,LMinit=2,LMstep=2){
LMstep=LMstep)))
}
+#' Parameter covariance of the identified model
+#'
+#' Obtain the parameter covariance matrix of the linear, identified
+#' parametric model
+#'
+#' @param sys a linear, identified parametric model
+#'
#' @export
getcov <- function(sys){
sys$stats$vcov
diff --git a/man/getcov.Rd b/man/getcov.Rd
new file mode 100644
index 0000000..b5f0369
--- /dev/null
+++ b/man/getcov.Rd
@@ -0,0 +1,16 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/estUtil.R
+\name{getcov}
+\alias{getcov}
+\title{Parameter covariance of the identified model}
+\usage{
+getcov(sys)
+}
+\arguments{
+\item{sys}{a linear, identified parametric model}
+}
+\description{
+Obtain the parameter covariance matrix of the linear, identified
+parametric model
+}
+