search for: fjn

Displaying 1 result from an estimated 1 matches for "fjn".

Did you mean: fan
2002 Dec 19
1
newbie question on dist
...t;V2" "V3" "V4" "V5" # "V5" contains the class mark (1 or 0) > # > # since i dont want the class attribute in the distance matrix > # i create another data.frame dropping it. but how do i pass it > # so that I may use it while plotting? > fjN <- data.frame(V1=fj$V1, V2=fj$V2, V3=fj$V3, V4=fj$V4) > library(mva) > fjNDist <- dist(fjN, method="euclidean") > fjCMDS <- cmdscale(fjNDist) > plot(x, y, type="n", main="cmdscale(fjNDist)") > text(x, y, ".", cex=0.8) ---- any help wi...