[R] tm package

2011-05-28 Thread lloyd barcza
Hi, I am using the "tm" package. When I try to use findfreqterms I get an error message: findfreqterms(dtm,2,5) Error: could not find function "findfreqterms" Obvious thing such as calling the "tm" library and a creating document term matrix have been covered. I cannot find any dependencies th

[R] optim(,"SANN"...)

2009-11-22 Thread lloyd barcza
Hi, Can anyone please tell me is there a way to view the annealing schedule when using SANN is optim. I have tried setting report=1 in the control list, but cannot seem to get it to work? Ant help or suggestions would be appreciated! Thanks __ R-hel

[R] optim(.. ,"SANN",..)

2009-11-19 Thread lloyd barcza
I have a problem using optim, so I am hoping someone can help me out with it: Suppose I have the list: list(D,R,P) [[1]] V1 V2 V3 V4 1 0 1 0 1 2 1 1 0 0 3 1 0 1 0 4 0 0 1 1 5 0 1 0 1 6 1 1 0 0 7 1 0 1 0 8 0 0 1 1 9 1 0 1 0 10 0 0 1 1 [[2]] [1]

[R] reduce matrix

2009-11-18 Thread lloyd barcza
I am trying to reduce the dimension of matrix by removing zero elements and creating a sub-matrix. For example: A= [1,0,0,3; 0,1,2,0; 0,0,3,5] then the new matrix B would be: B= [1,3;1,2;3,5] There are the same number of zero elements in each row of A so dimension of B will not be a problem

[R] R-help

2009-11-16 Thread Lloyd Barcza
his problem up as a function in R. Any help would be much appreciated. Regards Lloyd Barcza - Forwarded by Lloyd Barcza/UK/RoyalSun on 16/11

[R] R-help

2009-11-16 Thread Lloyd Barcza
his problem up as a function in R. Any help would be much appreciated. Regards Lloyd Barcza - Forwarded by Lloyd Barcza/UK/RoyalSun on 16/11