<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>1.Do you believe that we could/should do it in R or in php? </div></div></blockquote>
<div><br>I dit it with R. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>2. should the y variable  take its values like this?
<br>$yxvarsstring = join (", ", split ("\n", getRK_val ("x")));
<br>y=cbindlist (<? echo ($xvarsstring); ?>)</div></div></blockquote><div><br>I did like this. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div>3. What do you believe for the preview option? should it stay or should it go?</div></div></blockquote><div><br>For the moment I did not remove it but I plan to. If one clicks on preview many previews are generated replacing one another stopping on the last barplot. Should I remove it, should we leave it as is, or change something? 
<br><br>I have two problems:<br>1. I get this error. <br><br>Error in table(x, y[, i]) : subscript out of bounds<br><br>However the results are right. The hours are long right now and I can not think the reason. <br><br>2.There
 are some more warnings printed. <br><br>Warning messages:<br>1: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>2: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>3: Chi-squared approximation may be incorrect in: 
chisq.test(xy) <br>Warning messages:<br>1: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>2: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>3: Chi-squared approximation may be incorrect in: 
chisq.test(xy) <br>Warning messages:<br>1: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>2: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>3: Chi-squared approximation may be incorrect in: 
chisq.test(xy) <br>Warning messages:<br>1: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>2: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>3: Chi-squared approximation may be incorrect in: 
chisq.test(xy) <br>Warning messages:<br>1: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>2: Chi-squared approximation may be incorrect in: chisq.test(xy) <br>3: Chi-squared approximation may be incorrect in: 
chisq.test(xy)<br><br>Should and how can we supress them?<br> <br>Regards,<br>Ilias<br><br></div>PS: I changed chisq.test as you proposed to chisq.test(xy).<br></div><br>