# NOT RUN {
# View top few rows of viagra data set from Discovering Statistics Using R
head(viagra)
# Use apa.d.table function
apa.d.table(iv = dose, dv = libido, data = viagra, filename = "ex1_d_table.doc")
# }
Run the code above in your browser using DataLab