calc_cofactor function

Function to calculate a cofactor matrix

Function to calculate a cofactor matrix

calc_cofactor calculates a cofactor matrix.

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.

Returns

calc_cofactor returns a cofactor matrix of size p x p.

Examples

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

See Also

MTA

  • Maintainer: Akifumi Okayama
  • License: MIT + file LICENSE
  • Last published: 2017-09-10