datatype: Description of the datatype of variables

Description Usage Arguments Value Author(s) See Also Examples

View source: R/preperation.R

Description

Simple calculations to describe the datatype of variables and quantify the degree of discreteness.

Usage

1
datatype(x, limit = 0.8)

Arguments

x

A vector, a numeric matrix or a data frame.

limit

The limit used to define if a variable is treated as discrete or continous, depending on the value of discrete1d.

Value

A data frame with the following variables:

numeric

A logical value. Is variable of mode "numeric"?

discrete

Value of function discrete1d.

valdisc

A logical value. Is variable discrete under the given definition of discreteness?

Author(s)

Katrin Grimm

See Also

discrete1d

Examples

1
2

mbgraphic documentation built on May 2, 2019, 2:45 a.m.