create_formulas: create_formulas It creates the standardized code necessary...

View source: R/helper_functions_extra.R

create_formulasR 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

Description

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

Usage

create_formulas(type, functions = "sum", dimensions = NULL)

Arguments

type

One of: c("DIRd", "STDd", "RELd", "DIRt", "RELt", "STDt")

functions

One of: c("sum"|"mean")

dimensions

character vector with the dimensions names

Value

prints the formula for the prepare_TASK() function

Examples

 create_formulas(type = "DIRd", functions = "sum", dimensions = c("ONE"))

gorkang/jsPsychHelpeR documentation built on Oct. 15, 2024, 8 a.m.