covar_mtrx {klovan}R Documentation

Create Co-variance Matrix

Description

This function creates a non-normalized co-variance matrix from the given klovan dataset. For further details on klovan datasets, refer to the README.

Usage

covar_mtrx(data)

Arguments

data

A dataset of class data.frame. The data should contain 'C_X' and 'C_Y' columns representing the x and y coordinates of the data points and excludes any rank, ID, or column not for analysis.

Value

A non-normalized co-variance matrix of the klovan data.

Examples

data("Klovan_Row80")
covar_mtrx(Klovan_Row80) # view co-variance matrix

[Package klovan version 0.1.0 Index]