Description Usage Arguments Details Value See Also Examples
Generate a personality test report without launching the test.
1 | report(responses, path)
|
responses |
A numeric vector to represent your answers to the questions in the test. |
path |
A string to set where to store your test report. |
report
will be automatically called after
you call launch_test
and submit your responses.
The report summaries your test results, and compares them to other people's to tell you what the results mean.
No return value, two files named "report.Rmd" and "report.html" generates in your path.
launch_test
to launch the personality test.
1 2 3 4 5 6 7 8 | if (interactive()) {
# a numeric vector representing your responses to the test
rs <- rep(1, 50)
# generate report
path <- tempdir()
report(rs, path)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.