[R] Knitr R - how to draw plot exactly at place of plot function call in output document?

2016-06-06 Thread Michu Kom
My R script run with Knitr generates a statistic summary of electrode pairs accompanied with plots. The problem is that knitr does not render plots in correct sections. In section for pair A knitr do not wait for plot and start to evaluate code for output summary for pair B. So in section B knitr

[R] R vs SPSS - simple effects analysis in mixed 2x2 ANOVA scheme - same data, different results

2016-05-22 Thread Michu Kom
down votefavoriteHell Hello, I prepared a mixed 2x2 ANOVA design analysis both in SPSS and in R. The SPSS script is correct, but in R script there is a mistake