
Last chance! 50% off unlimited learning
Sale ends in
"Dtable"
representing a set of points with weights and labels and the distances between them.
Dtable(Dmatrix, PointType = NULL, PointWeight = NULL)
"Dtable"
. It is a list:as.Dtable
# A Dtable containing two points
Dmatrix <- matrix(c(0,1,1,0), nrow=2)
PointType <- c("Type1", "Type2")
PointWeight <- c(2,3)
Dtable(Dmatrix, PointType, PointWeight)
Run the code above in your browser using DataLab