Skip to content
/ cosCorr Public

❗ This is a read-only mirror of the CRAN R package repository. cosCorr — Cosine-Correlation Coefficient for Vector Variables

License

Notifications You must be signed in to change notification settings

cran/cosCorr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosCorr

Overview

The cosCorr package implements the cosine-correlation coefficient, a novel measure for assessing the degree of linear dependence among variables in a multidimensional context.

Installation

install.packages("cosCorr")

Usage

library(cosCorr)

# Simple example
x <- c(0, 2, 3, 4)
rho <- cosCorr(x)
print(rho)

Mathematical Foundation

The cosine-correlation coefficient is defined as:

rho = [(p-1) * prod(|t_i|)] / sum(|t_i|^(p-1))

where t_1 = 0 and t_2, ..., t_p are the variables in the system.

Author

Mehmet Niyazi Cankaya

Faculty of Applied Sciences

Department of International Trading and Finance

Usak University, Usak, Turkey

Email: mehmet.cankaya@usak.edu.tr

Reference

Cankaya, M. N. (2025). Derivatives through Probes in Regular Geometric Objects: A Dimensional Exploration for qqq-Sets in Time Scale Calculus. Fractals, in printing progress.

About

❗ This is a read-only mirror of the CRAN R package repository. cosCorr — Cosine-Correlation Coefficient for Vector Variables

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages