Displaying 2 results from an estimated 2 matches for "itemfrequency".
2011 Oct 31
2
assignment operator <- does not work in a function...
...ow using arules and arulseViz packages:
>kuralfonk
function()
{
require(arules)
require(arulesViz)
veri<-read.transactions("c:/RVerileri/BitirmeVeri.csv",sep=";",col=1) #This statement does not add "veri" object to working area
#itemFrequencyPlot(veri,type="absolute")
#bringToTop(-1)
summary(veri) #But this statement gives the right answer
itemFrequency(veri,type="absolute") #And this statement does nothing, even the graph window does not open.
}
Thanks for your tips and corrections,
Levent....
2011 Sep 14
1
R 2.13.1 console echo problem or am I wrong?
...ere are that I should.
Thanks in advance for your replies.
The Function:
function()
{
require(arules)
require(arulesViz)
veri<-read.transactions("c:/RVerileri/BitirmeVeri.csv",sep=";",col=1) #After this, "veri" can not be seen in the ls() output
itemFrequencyPlot(veri,type="absolute") #This works fine (if this command is deleted)
summary(veri) #No output in console (No output in console)
itemFrequency(veri,type="...