View source: R/helper_functions_extra.R
create_formulas | R Documentation |
create_formulas It creates the standardized code necessary for the dimensions or total scores calculation in the prepare_TASK scripts PROBABLY NOT NEEDED, as we SHOULD do all this automatically in get_dimensions_google_doc() Maybe useful when there are some non-standard elements to the calculations? e.g. See prepare_CS
create_formulas(type, functions = "sum", dimensions = NULL)
type |
One of: c("DIRd", "STDd", "RELd", "DIRt", "RELt", "STDt") |
functions |
One of: c("sum"|"mean") |
dimensions |
character vector with the dimensions names |
prints the formula for the prepare_TASK() function
create_formulas(type = "DIRd", functions = "sum", dimensions = c("ONE"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.