Re: [R] Overlay line on a bar plot - multiple axis

2018-04-29 Thread Jim Lemon
Hi Miluji, You have a problem as the x-axis is different for the two plots. However, the y-axis can be the same, so you really don't need different axes. I think you want to display city within week. The example below shows how to display both the counts for the cities by week, the mean z by week a

[R] Overlay line on a bar plot - multiple axis

2018-04-29 Thread Miluji Sb
Dear all, I am trying to make a similar plot - https://peltiertech.com/images/2013-09/BarLineSampleChart4.png. I have data for two variables; count and z by city and week. I would like to have a horizontal bar plot of *count* by city and a line plot of weekly average of the variable *z*. I have

[R] Compare global and between group variability of 2 mixed effect models

2018-04-29 Thread Angelo D'Ambrosio
Hello, We are comparing some features of our product against a competitor. Since the product is produced in lots and we have proof that ambient temperature is relevant for its functioning we used a mixed effect model (MEM) structured this way (NB: R lme4 notation): `out ~ Brand * Temperature + (T