distGPS-class: Class '"distGPS"'

Description Objects from the Class Slots Author(s) Examples

Description

Pairwise distances between elements. Function distGPS creates objects of this class. splitDistGPS in an private class used internally for parallel Multidimensional Scaling.

Objects from the Class

Objects can be created by calls of the form new("distGPS", ...) to generate chroGPS-compliant distance matrices with user-defined metrics. The internal distance matrix can be extracted with the function "as.matrix"

Slots

d:

Object of class "matrix" with pairwise dissimilarities (distances) between elements.

metric:

Object of class "character" indicating the metric type used for calculating distances. See function "distGPS".

type:

Object of class "character", deprecated.

Author(s)

Oscar Reina

Examples

1
2
3
4
5
6
showClass("distGPS")
data(s2)
data(toydists)
d
class(as.matrix(d))
as.matrix(d)[1:5,1:5]

chroGPS documentation built on Oct. 31, 2019, 4:52 a.m.