diff options
| author | Chris Sobczak <chris@sobczak.family> | 2026-07-10 16:42:21 -0700 |
|---|---|---|
| committer | Chris Sobczak <chris@sobczak.family> | 2026-07-10 16:42:21 -0700 |
| commit | 8ecb3a28a60290514dde24599564c34b9773e6a3 (patch) | |
| tree | 538dd9749f78a99cbca8ee4faa24d545fb60ece9 /man/matrix_metrics.Rd | |
| parent | 0478b9c425d668d6ef0aa0e860f8e4eac8ee78a0 (diff) | |
Diffstat (limited to 'man/matrix_metrics.Rd')
| -rw-r--r-- | man/matrix_metrics.Rd | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/man/matrix_metrics.Rd b/man/matrix_metrics.Rd new file mode 100644 index 0000000..d7beee0 --- /dev/null +++ b/man/matrix_metrics.Rd @@ -0,0 +1,30 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/matrix_metrics.R +\name{matrix_metrics} +\alias{matrix_metrics} +\title{Matrix Metrics} +\usage{ +matrix_metrics(S_true, R_hat, strong = 0.75) +} +\arguments{ +\item{S_true}{The true covariance matrix.} + +\item{R_hat}{The estimate correlation matrix.} + +\item{strong}{Eigenvalues strength threshold (default 0.75).} +} +\value{ +A data.frame with 5 metrics. +} +\description{ +Measure the performance of a covariance or correlation +matrix estimate with various metrics. +} +\examples{ +X_obj <- simulate_data(n = 10, p = 10) +X <- X_obj$X +S_true <- X_obj$S +R_hat <- cor(X) +results <- matrix_metrics(S_true, R_hat) + +} |
