var.type: Check the type of variables

View source: R/var.type.R

var.typeR Documentation

Check the type of variables

Description

Function to check the type of variables in a data.frame or matrix. This function was extracted and slightly modified of the function gowdis.

Usage

var.type(data)

Arguments

data

A data.frame or matrix.

Value

A vector with the variable types, where 'c' is continuous/numeric, 'o' is ordinal, 'b' is binary, 'n' is nominal and 'f' is factor.

Author(s)

Vanderlei Julio Debastiani <vanderleidebastiani@yahoo.com.br>

See Also

syncsa, organize.syncsa, var.dummy


SYNCSA documentation built on Aug. 22, 2025, 5:12 p.m.

Related to var.type in SYNCSA...