search for: lab8

Displaying 4 results from an estimated 4 matches for "lab8".

Did you mean: lab
2010 Mar 17
3
Are loops handled differently in newer versions of R?
...e loop are what I expect: > p_unadj [1] 0.034939481 0.015743706 0.089287030 0.001098538 0.039290594 But in Windows (running version 2.10.1), I get a bunch of NA's... > p_unadj A B C D E NA NA NA NA NA If I had to guess, I'd say that R v. 2.10 is handling the i in lab8.dat[,1] differently, given that it's keeping the row names in the output for p_unadj... but why would that stop it from applying the function? Any thoughts or suggestions are welcome. Cheers, Mike Here's the code... #build the dataset locn<-c("A", "B", "...
2005 Mar 08
1
Multidimensional Scaling (MDS) in R
...oint in the plot has a label. This is what I did: data <- read.table('c:/multivariate/mds/colour.txt',header=FALSE) similarity <- as.dist(data) distance <- 1-similarity result.nmds <- nmds(distance) plot(result.nmds) (nmds and plot.nmds as defined at labdsv.nr.usu.edu/splus_R/lab8/lab8.html; nmds simply calls isoMDS) Colour.txt, containing the similaity matrix, reads as follows: 1.0 .86 .42 .42 .18 .06 .07 .04 .02 .07 .09 .12 .13 .16 .86 1.0 .50 .44 .22 .09 .07 .07 .02 .04 .07 .11 .13 .14 .42 .50 1.0 .81 .47 .17 .10 .08 .02 .01 .02 .01 .05 .03 .42 .44 .81 1.0 .54 .25 ....
2005 Nov 04
1
Stress in multidimensional scaling
Hello, We are trying to find a function to compute "stress" in our multidimensional scaling analysis of a dissimilarity matrix. We've used "dist()" to create the matrix and "cmdscale()" for the scaling. In order to determine the number of dimensions we would like to plot stress vs. dimensions. However, we cannot find a pre-made command. It seems that other
2010 May 22
1
How to find all single minima, i.e. only each one within each next part of analyzed vector (table)
...second mask) mass_position<-c(1,2,3,4,5,6,7,8,9,10, 11,12,13,14,15,16,17,18,19,20) mass_value<-c(9,2,3,2,5,6,7,8,9,10,2.1,12, 1,14,15,16,17,18,19,20) mass_label<-c("lab1","lab2","lab3","lab4","lab5","lab6","lab7","lab8","lab9","lab10", "lab11","lab12","lab13","lab14","lab15","lab16","lab17","lab18","lab19","lab20") dt<-5 # i.e. mass_value<-c (9,0,3,1,5,6,7,8,3,10,2.1,...