calc_cofactor {MTSYS}R Documentation

Function to calculate a cofactor matrix

Description

calc_cofactor calculates a cofactor matrix.

Usage

calc_cofactor(data)

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

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

[Package MTSYS version 1.2.0 Index]