My current study looks at how Chinese and English view different advertisements that were manipulated on the length and type as follows:

  • creative+long
  • creative+short
  • informative+long
  • informative+short

In sum, this is a 2 x 2 x 2 Mixed ANOVA design, with the following independent variables (within subject) ad length and ad type; and (between subject) nationality; dependent variable is timeview. (the data set is here https://www.dropbox.com/s/mbwn2tlngyu3lhr/RMANOVA_1.xlsm?dl=0)

My main question is how can I produce the the interaction plots in R similar to those shown in the following websites. Can anyone provide the code based on my dataset? Many thanks

http://ifcuriousthenlearn.com/blog/2015/09/01/Industrial-Design-of-Experiments-with-r/

https://www.itl.nist.gov/div898/handbook/pri/section4/pri471.htm

https://stats.stackexchange.com/questions/62756/2x2x5-repeated-measures-anova-significant-3-way-interaction

I have also posted the same question in the following website: https://stats.stackexchange.com/questions/345613/how-to-create-interaction-plots-of-2x2x2-mixed-anova-bww-design-in-r

More Henrique Fátima Boyol Ngan's questions See All
Similar questions and discussions