From 4715f43dabe33aac9aef5fefa8b9352c8bab18f2 Mon Sep 17 00:00:00 2001 From: Dario Azzimonti Date: Fri, 17 Nov 2023 11:24:09 +0100 Subject: [PATCH] Close issue #3 --- R/shrink_cov.R | 2 +- man/schaferStrimmer_cov.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/shrink_cov.R b/R/shrink_cov.R index 6485fc4..2dd1149 100644 --- a/R/shrink_cov.R +++ b/R/shrink_cov.R @@ -15,7 +15,7 @@ #' #' @return A list containing the shrinkage estimator and the optimal lambda. The list has the following named elements: #' -#' * `shrink_cov`: the shrinked covariance matrix (`n` x `n`); +#' * `shrink_cov`: the shrinked covariance matrix (`p` x `p`); #' * `lambda_star`: the optimal lambda for the shrinkage; #' #' @examples diff --git a/man/schaferStrimmer_cov.Rd b/man/schaferStrimmer_cov.Rd index 0f1ecd8..8b37e7b 100644 --- a/man/schaferStrimmer_cov.Rd +++ b/man/schaferStrimmer_cov.Rd @@ -12,7 +12,7 @@ schaferStrimmer_cov(x) \value{ A list containing the shrinkage estimator and the optimal lambda. The list has the following named elements: \itemize{ -\item \code{shrink_cov}: the shrinked covariance matrix (\code{n} x \code{n}); +\item \code{shrink_cov}: the shrinked covariance matrix (\code{p} x \code{p}); \item \code{lambda_star}: the optimal lambda for the shrinkage; } }