list_of_types_maker: Helps the user to make a list of types.

Description Usage Arguments Value

View source: R/hmi_smallfunctions.R

Description

In hmi the user can add a list of types. This function gives him a framework with suggestions. Of course the user can make changes by herself/himself afterwards. For example, if a continuous variable has only two observations left, then get_type interpret this as a binary variable and not a continuous.

Usage

1
list_of_types_maker(data, spike = NULL, rounding_degrees = NULL)

Arguments

data

the data.frame also passed to hmi.

spike

A numeric value or list saying which value in the semi-continuous data might be the spike.

rounding_degrees

A numeric vector with the presumed rounding degrees.

Value

a list with suggested types. Each list element has the name of a variable in the data.frame. The elements contain a single character denoting the type of the variable. See get_type for details about the variable types.


hmi documentation built on Oct. 23, 2020, 7:31 p.m.