Code
library("petersenlab") #located here: https://github.com/DevPsyLab/petersenlab
Insert Author’s Name Here
July 10, 2024
This is a template Quarto file for your blog posts. Note: The post image was obtained from here.
The Abstract is be a brief summary of your article. It should briefly summarize the background, method, results, discussion, and conclusion.
This section should provide a background on the topic and why it is important.
This section should describe your research question(s), hypotheses, and predictions, and should provide a justification for each hypothesis—ideally based on prior work, theory, etc. It should also describe why your study is innovative and important. The research question(s), hypotheses, and predictions should be clear. The hypothesis should provide a proposed explanation. The prediction(s) should be specific and testable.
This section should describe how you tested your research question(s), including several subsections. A strong method section should allow any research to replicate your findings. That is, readers should know enough detail of how you conducted your study so that they can get the same answer. Traditionally, this section would include several subsections, including a) Participants, b) Procedure, c) Measures, and d) Statistical Analysis. However, for this class and purpose, we will adapt the Method section to include the following subsections.
This section describes the data you used—including the subset of players, positions, seasons, and indices you examined—how you obtained them, and any cleaning/processing/subsetting of the data you performed.
This section describes the statistical approach you used, including the packages, key functions, and settings you used.
This section presents the results of the statistical analysis, including output, figures, and basic description of the findings. The section should include R
code/analyses to test the research question(s) and hypotheses, and it should include a written description of the findings all inline with the code and output.
This section summarizes the findings and relates the findings back to background you provided at the beginning of the article.
This section describes the strengths and limitations of the study.
This sections provides an overall conclusion given the findings of the study, including take-away messages, implications, etc.
This section provides a list of references that you cited above.
This section provides your session info for reproducibility.
R version 4.5.0 (2025-04-11)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: UTC
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] petersenlab_1.1.5
loaded via a namespace (and not attached):
[1] generics_0.1.4 lattice_0.22-6 stringi_1.8.7 digest_0.6.37
[5] magrittr_2.0.3 evaluate_1.0.3 grid_4.5.0 RColorBrewer_1.1-3
[9] mvtnorm_1.3-3 fastmap_1.2.0 plyr_1.8.9 jsonlite_2.0.0
[13] nnet_7.3-20 backports_1.5.0 DBI_1.2.3 Formula_1.2-5
[17] gridExtra_2.3 purrr_1.0.4 viridisLite_0.4.2 scales_1.4.0
[21] pbivnorm_0.6.0 mnormt_2.1.1 cli_3.6.5 mitools_2.4
[25] rlang_1.1.6 Hmisc_5.2-3 base64enc_0.1-3 yaml_2.3.10
[29] mix_1.0-13 parallel_4.5.0 tools_4.5.0 reshape2_1.4.4
[33] checkmate_2.3.2 htmlTable_2.4.3 dplyr_1.1.4 colorspace_2.1-1
[37] ggplot2_3.5.2 vctrs_0.6.5 R6_2.6.1 rpart_4.1.24
[41] stats4_4.5.0 lifecycle_1.0.4 stringr_1.5.1 htmlwidgets_1.6.4
[45] psych_2.5.3 foreign_0.8-90 cluster_2.1.8.1 pkgconfig_2.0.3
[49] pillar_1.10.2 gtable_0.3.6 Rcpp_1.0.14 glue_1.8.0
[53] data.table_1.17.2 xfun_0.52 tibble_3.2.1 tidyselect_1.2.1
[57] rstudioapi_0.17.1 knitr_1.50 xtable_1.8-4 farver_2.1.2
[61] nlme_3.1-168 htmltools_0.5.8.1 rmarkdown_2.29 lavaan_0.6-19
[65] compiler_4.5.0 quadprog_1.5-8