map_to_template: Map results to an output template

Description Usage Arguments

View source: R/map_to_template.R

Description

Map results to an output template

Usage

1
2
map_to_template(x, questionnaire = NULL, dir, type = NULL, filename,
  custom_template = NULL)

Arguments

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)


mabafaba/hypegrammaR documentation built on Oct. 2, 2019, 11:33 a.m.