Skip to contents

Compute the standard error information for a given covariance matrix.

Usage

seCovs(covs, addbase = FALSE)

Arguments

covs

covariance matrix

addbase

logical, is there a baseline?

Value

an ses.moecalc object

Author

Junjie Zeng

Examples

seCovs(cov(iris[, -5]))
#> $ses
#> Sepal.Length  Sepal.Width Petal.Length  Petal.Width 
#>    0.8280661    0.4358663    1.7652982    0.7622377 
#> 
#> $ses.diffs
#>              Sepal.Length Sepal.Width Petal.Length Petal.Width
#> Sepal.Length    0.0000000   0.9800719     1.119527   0.4838992
#> Sepal.Width     0.9800719   0.0000000     1.991374   1.0071070
#> Petal.Length    1.1195269   1.9913739     0.000000   1.0516964
#> Petal.Width     0.4838992   1.0071070     1.051696   0.0000000
#> 
#> attr(,"class")
#> [1] "ses.moecalc"