distGPS-class {chroGPS} | R Documentation |
"distGPS"
Pairwise distances between elements. Function distGPS
creates
objects of this class.
splitDistGPS
in an private class used internally for parallel
Multidimensional Scaling.
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"
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.
Oscar Reina
showClass("distGPS") data(s2) data(toydists) d class(as.matrix(d)) as.matrix(d)[1:5,1:5]