the results definition is a yaml file in the
jamovi/ directory, with the extension
.r.yaml. the results definition describes the results produced by the analysis. the file is named to match the name of the analysis, but converted to lowercase. an example is
--- name: TTestIS title: Independent Samples T-Test jrs: '1.0' items: - name: ... type: ... - name: ... type: ...
|name||the name of the analysis. must correspond to the filename.|
|title||the title to display at the top of the results.|
|items||an array of results elements that make up the results. these are described in greater detail below.|
each results element has the following properties:
different results element types have different additional properties.
the different results element types are as follows:
Preformatted represents the simplest of results elements. it is simply a block of preformattd text.
it has no additional properties.
Table is the most common result element in the results from jamovi analyses. Tables are represented as rich HTML tables in jamovi, and as nicely formatted ascii tables in an interactive R session.
|columns||an array of columns objects, see below|
||an integer specifying the number of rows, or a data-binding where one row is created per element of the bound value|
||whether the rows and columns should be swapped|
||an array of strings which appear as additional notes in the footnotes of the table.|
|name||the name of the column, a string|
|title||the title that appears at the top of the column|
|format||(optional) a string with comma separated values;
|content||(optional) the content to appear in the cells of the column.|
|superTitle||(optional) a title to appear above the title of the column|
||if multiple adjacent cells in the column contain the same value, they will be combined into a single cell|