[R] How to read-in a transaction-table with single items per line via RODBC?

2008-09-03 Thread Elena Schulz
Hi, I succeeded to read-in a transaction-table tr_dat with single items per line via RODBC of the form: Transact-ID ItemID 1item1 1item2 1item3 2item2 2item3 ... how do I create a transaction object of the arules package from such a table? I tried th

[R] ggplot2: how to combine position=stack and position=dodge in a single graph?

2008-10-04 Thread Elena Schulz
Hi ggplot experts, I need to plot two time series of stacked data: a barchart with bars for each month. To compare the data of two years I need to combine both time series with in a single graph via position=doge. How should I do that? I tried the following scenario: I added two layers with t

Re: [R] ggplot2: how to combine position=stack and position=dodge in a single graph?

2008-10-21 Thread Elena Schulz
am wrote: Hi Elena, Currently, there's no way to combine stacking and dodging in a single graphic. However, you can often use faceting to get a similar effect to dodging. Could you explain your problem in a little more detail? Thanks, Hadley On Sat, Oct 4, 2008 at 4:22 PM, Elena Schulz <[

Re: [R] ggplot2: how to combine position=stack and position=dodge in a single graph?

2008-10-24 Thread Elena Schulz
fill=factor(newCust), width=0.4 ), geom="bar", colour="black", stat="identity" ) hadley wickham wrote: Hi Elena, You should be able to replicate any dodging layout with facetting, but you shou

Re: [R] ggplot2: how to combine position=stack and position=dodge in a single graph?

2008-11-08 Thread Elena Schulz
Fri, Oct 24, 2008 at 5:18 PM, Elena Schulz <[EMAIL PROTECTED]> wrote: Hi Hadley, thanks a lot for your quick answer. You should be able to replicate any dodging layout with facetting You mean instead of facetting by years, facetting by months? I will try this an see how the plot looks.