Displaying 2 results from an estimated 2 matches for "mdsdata".
Did you mean:
dsdata
2003 May 01
1
Automating R for multiple data files
...seen a solution to my problem.
I have a set of data files with filenames in the following form
haydn1stmvt.jtf.sim0.142292.et.dist, where the latter half
changes, after the jtf.
What I am trying to do is process the set of these files using
R's batch mode. using the following :
library(mva)
mdsdata <- read.table(file)
cm <- cmdscale(mdsdata)
x <- cm[,1]
y <- -cm[,2]
postscript("file.eps", height=5, width=5)
plot(x,y,type="n", main="classical MDS")
text(x,y,names(mdsdata))
dev.off()
I want the variable file to contain the relevant file name with
havi...
2013 May 27
1
metaMDS with large dataset produces 'insufficient data' warning
...utput values each), and also on a very much reduced version of the dataset (randomly select 1000 of the 25071 output values). I would like to look at similarities/dissimilarities between the 12 model runs. When I use metaMDS on the full dataset, I get a warning message:
Warning message:
In metaMDS(MDSdata, distance = "bray", k = 2, autotransform = FALSE) :
Stress is (nearly) zero - you may have insufficient data
I don't think I have insufficient data, with 12 x 25071 data points, and when I reduce the dataset to only 1000 values per model run (so only 12 x 1000) I don't get this...