R/extensions-export_kfa_report.R
render_kfa_report.Rd
Generates a k-fold factor analysis report using the 'scale' field in the blueprintr data dictionaries. While not recommended, this function does allow for multiple loaded variables, delimited by commas. For example, 'var1' could have 'scale' be "SCALE1,SCALE2".
render_kfa_report(
dat,
bp,
meta,
scale,
path = NULL,
path_pattern = "reports/kfa-{snakecase_scale}-{dat_name}.html",
format = NULL,
title = NULL,
...
)
Source data
The dataset's blueprint
blueprintr data dictionary
Scale identifier to be located in the 'scale' field
Where to output the report; defaults to the "reports" subfolder of the current working project folder.
If path is NULL
, this is where the report will
be saved. Variables available for use are:
scale
: The scale name defined in the metadata
snakecase_scale
: scale
but in snake_case
dat_name
: Name of the dataset (equivalent to the blueprint name)
The output format; defaults to 'html_document'
Optional title of the report
Arugments forwarded kfa::kfa()
Path to where the generated report is saved