cor: Generic function for the correlation

Description Usage Arguments Value Author(s) References

View source: R/symbolic_objects.R

Description

This function compute the symbolic correlation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
cor(x, ...)

## Default S3 method:
cor(
  x,
  y = NULL,
  use = "everything",
  method = c("pearson", "kendall", "spearman"),
  ...
)

## S3 method for class 'symbolic_interval'
cor(x, y, method = c("centers", "billard"), ...)

Arguments

x

A symbolic variable.

...

As in R cor function.

y

A symbolic variable.

use

An optional character string giving a method for computing covariances in the presence of missing values. This must be (an abbreviation of) one of the strings 'everything', 'all.obs', 'complete.obs', 'na.or.complete', or 'pairwise.complete.obs'.

method

The method to be use.

Value

Return a real number in [-1,1].

Author(s)

Oldemar Rodriguez Rojas

References

Billard L. and Diday E. (2006). Symbolic data analysis: Conceptual statistics and data mining. Wiley, Chichester.

Rodriguez, O. (2000). Classification et Modeles Lineaires en Analyse des Donnees Symboliques. Ph.D. Thesis, Paris IX-Dauphine University.


RSDA documentation built on Jan. 28, 2021, 1:07 a.m.