You will need the following files to complete this WPA. The files were sent to you via email. Save all of the files in the same folder.
install.packages("xtable")
install.packages("knitr")
Now you’re ready to learn Sweave - a combination of R and LaTeX!
Open the apasweaveguide_1.Rnw file in RStudio. Go through the document to learn the basics of Sweave, R combined with LaTeX, with your surprise captain.
Open the pdf file completed_WPA_5.pdf. Your assignment is to create this APA style document with R and LaTeX!
However, you don’t need to start from scratch. To help you, you can use the file blank_WPA_6.Rnw file as a guide. Open the file in RStudio and compile the document (by clicking “Compile PDF”) to see the pdf.
You’ll notice that the file has many missing values indicated by ZZZ or 999. Additionally, the analyses in the code chunks are not correct. Fix them!
Save your final .Rnw file as LASTNAME_WPA10.Rnw and email it to me. In addition, send the compiled PDF as LASTNAME_WPA10.pdf