R: Check the type of variables

var.type {SYNCSA} | R Documentation

## Check the type of variables

### Description

Function extracted (with small changes) of the function `gowdis` to check the type of variables in a data.frame or matrix.

### 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`

[Package SYNCSA version 1.3.4 Index]