Displaying 1 result from an estimated 1 matches for "fjcmds".
Did you mean:
cmds
2002 Dec 19
1
newbie question on dist
...lass 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 will be much appreciated.
thanks,
saurav