Learn R Programming

SYNCSA (version 1.3.4)

var.type: 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.

See Also

syncsa, organize.syncsa, var.dummy