calc_cofactor: Function to calculate a cofactor matrix

Description Usage Arguments Value See Also Examples

View source: R/calc_A.R

Description

calc_cofactor calculates a cofactor matrix.

Usage

1

Arguments

data

Matrix with n rows (samples) and p columns (variables). All data should be continuous values and should not have missing values.

Value

calc_cofactor returns a cofactor matrix of size p x p.

See Also

MTA

Examples

1
2
3
4
5
# 40 data for versicolor in the iris dataset                            
iris_versicolor <- iris[61:100, -5] 
                            
calc_cofactor(cov(iris_versicolor))
 

okayaa/MT documentation built on March 15, 2021, 8:41 a.m.