search for: replacement2

Displaying 2 results from an estimated 2 matches for "replacement2".

Did you mean: replacement
2003 Aug 05
1
code speed help? -- example and results provided
...nents of varying length into a list with components of constant length. I have found 2 ways to do it, and the faster of the two is posted below along with sample results. Do you have any suggestions on how to decrease the calculation time by modifying the code? > ####Function########### > replacement2.idx<-function(life=w.life,N=years,n=samples){ + + yrs<-rep(N,n) + ind<-yrs-life + + x1<-mapply(rep,times=life,x=0) + x2<-mapply(rep,times=ind,x=1) + + x3<-data.frame(c(x1[[1]],x2[[1]])) + + for(i in 2:n) x3<-data.frame(x3, append(x1[[i]],x2[[i]])) + + x3<-t(x3) + } > >...
2009 Jan 22
4
text vector clustering
Hi, I am a new user of R using R 2.8.1 in windows 2003. I have a csv file with single column which contain the 30,000 students names. There were typo errors while entering this student names. The actual list of names is < 1000. However we dont have that list for keyword search. I am interested in grouping/cluster these names as those which are similar letter to letter. Are there any