report {personr}R Documentation

Generate a Personality Test Report

Description

Generate a personality test report without launching the test.

Usage

report(responses, path)

Arguments

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.

Details

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.

Value

No return value, two files named "report.Rmd" and "report.html" generates in your path.

See Also

launch_test to launch the personality test.

Examples


if (interactive()) {
  # a numeric vector representing your responses to the test
  rs <- rep(1, 50)

  # generate report
  path <- tempdir()
  report(rs, path)
}


[Package personr version 1.0.0 Index]