Re: [R] Mathematical working procedure of imputation methods (medianImpute, knnImpute, and bagImpute) in caret package R

2022-09-22 Thread K Purna Prakash
t; list. > > Bert > > On Tue, Sep 20, 2022 at 2:20 PM K Purna Prakash > wrote: > >> Dear Sir/Madam, >> Greetings!!! >> >> Kindly provide the detailed internal mathematical working mechanism of the >> following median, KNN, and bagging imputation meth

Re: [R] Mathematical working procedure of imputation methods (medianImpute, knnImpute, and bagImpute) in caret package R

2022-09-20 Thread K Purna Prakash
e") preProcess(train_data method = "bagImpute") The details provided by you will help me a lot for a better understanding of these imputation methods especially while dealing with large sets of data. I will look forward to hearing from you. Thanks and regards, K. Purna Prakas

[R] Mathematical working procedure of duplicated() function in r

2020-08-04 Thread K Purna Prakash
Dear Sir(s), I request you to provide the detailed* internal mathematical working mechanism of the following function *for better understanding. *x[duplicated(x) | duplicated(x, fromLast=TRUE), ]* I am having some confusion in understanding how duplicates are being identified when thousands of reco

[R] Request for unsubscribe from this forum.

2013-01-27 Thread Purna chander
Dear admin members, My Inbox is being flooded with the posts every time. As a reason, I wish to unsubscribe from this forum. Can you suggest me how to do that. Regards, Purna __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

[R] How to remove the vertical space between two graps

2013-01-22 Thread Purna chander
ined is showed in "plot2.tiff" in the second attempt I'm able to place the bars next to each other using "beside=T" argument. However, I fail when I use "beside=F" argument (obtained plot3.tiff with this). Can you suggest me in ach

[R] Regarding the memory allocation problem

2012-10-25 Thread Purna chander
27; during calculation associated with chunk1, then is this matrix not replaced when I again compute 'm' when dealing with chunk 2? Regards, Purna __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] problem in finding sizes of objects using a for loop

2012-10-24 Thread Purna chander
he result obtained by me is wrong in second case. I understood that variables x and y are treated as characters. But to rectify this problem. Regards, Purna __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] Any better way of optimizing time for calculating distances in the mentioned scenario??

2012-10-12 Thread Purna chander
Dear All, I'm dealing with a case, where 'manhattan' distance of each of 100 vectors is calculated from 1 other vectors. For achieving this, following 4 scenarios are tested: 1) scenario 1: > x<-read.table("query.vec") > v<-read.table("query.vec2") > d<-matrix(nrow=nrow(v),ncol=nrow(x)) > fo

Re: [R] Text file: multiple matrix

2012-10-10 Thread Purna chander
blank lines. n<-256 for (i in 1:100){ filename=paste("file_",i,".txt",sep="") m<-x[((i-1)*256+1):(i*256),] write.table(m,filename,row.names=F,col.names=F) } Regards, Purna On 10/9/12, ludovico wrote: > Hi there! I'm a newbie in R > This is my

[R] Any better way of optimizing time for calculating distances in the mentioned scenario??

2012-10-08 Thread Purna chander
Dear All, I'm dealing with a case, where 'manhattan' distance of each of 100 vectors is calculated from 1 other vectors. For achieving this, following 4 scenarios are tested: 1) scenario 1: > x<-read.table("query.vec") > v<-read.table("query.vec2") > d<-matrix(nrow=nrow(v),ncol=nrow(x)) > fo

[R] delete rows whose sum is X

2011-03-04 Thread purna
Rnoob here. I have a matrix of zeroes ond ones. I want to delete the rows whose sum of values is not =5, alternatively extract the rows who sum up to 5. Thank you/Mikael -- View this message in context: http://r.789695.n4.nabble.com/delete-rows-whose-sum-is-X-tp3335254p3335254.html Sent from th

[R] matrix help

2010-09-26 Thread purna
Anyone know how write a function that solves: (1 + c)x1 +x2 +x3 = 5 x1+(1 + c)x2+x3 = 5 + 2c x1+x2 +(1 + c)x3= 5 + 3c, where c is a small constant, for 1000 equidistant values c = (10^-14, 2*10^-14, ..