Description Usage Arguments Details Value See Also Examples
Re-run the analysis for the \insertCiteHenderson_Simons_Barr_2021;textualtruthiness longitudinal truth study.
1 2 3 4 5 6 7 8 |
outfile |
Path to the HTML output file. |
refit |
Whether to re-fit the cumulative link mixed model
|
savefig |
Whether to save the two plots as separate PNG files
( |
recipe |
Include instructions on how to reproduce the analysis. |
parallel |
Whether to fit models using a single CPU processing
core ( |
infile |
Path to the R Markdown script; |
Runs R Markdown script containing the analysis code. The
analysis is performed on the built-in preprocessed anonymized
data (documented in truth_trajectory_data
). The
script output is rendered as an HTML report, specified by
outfile
. Although it is not necessary to do so, the master
R Markdown script for processing real data can be accessed using
rmarkdown::draft("analysis.Rmd",
"illusory-truth-analysis", "truthiness")
A string with the path to the generated HTML report.
Path to the rendered HTML report.
1 2 3 4 5 6 7 8 9 10 11 | tf <- tempfile(fileext = ".html")
## Run the built-in R Markdown script without refitting models.
## To re-fit the models, set refit = TRUE
## (NB: refitting can take ~ 24 hours)
reproduce_analysis(tf)
browseURL(tf)
## clean up
if (file.exists(tf)) file.remove(tf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.