map_to_case: Map to case

Description Usage Arguments Value Examples

View source: R/map_to_case.R

Description

creates a string that other functions can use to know what analysis case they are dealing with

Usage

1
2
map_to_case(hypothesis.type, dependent.var.type = NULL,
  independent.var.type = NULL)

Arguments

hypothesis.type

The hypothesis type. Must be one of "group_difference" or "direct_reporting".

dependent.var.type

The type of the dependent variable as a string. must be either "numerical" or "categorical"

independent.var.type

The type of the independent variable as a string. must be either "numerical" or "categorical"

Value

a string that other functions can use to know what analysis case they are dealing with. It has a class "analysis_case" assigned

Examples

1
## Not run: map_to_case("group_difference","categorical","categorical")

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