View source: R/map_to_template.R
Map results to an output template
1 2 |
x |
hypegrammaR result or list of results (created with map_to_result() or from_analysisplan_map_to_output()) |
questionnaire |
optional: the questionnaire (load_questionnaire()) |
dir |
the directory in which to save the output file (absolute path or relative to current working directory) |
type |
the type of report template to use, as a string. Currently one of "full", "visual" or "summary". Can be omitted if custom template is used |
filename |
the name of the file. must end in '.html' |
custom_template |
optional: the full path to the custom template to use (must be an RMD file in the templates folder) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.