convData: Converts dataset

Description Usage Arguments Details Value Author(s) Examples

View source: R/functions.r

Description

Converts a dataset to a structure required by other functions.

Usage

1
convData(dataset)

Arguments

dataset

matrix or data frame (discrete varibles must be factors).

Details

Convert the dataset to the structure required by the other functions.

Value

List:

dataset

Matrix.

numCat

Vector with the number of levels in each variable (0 if continuous).

vertNames - vector with the original vertices' names.

Author(s)

Gabriel Coelho Goncalves de Abreu (abreu_ga@yahoo.com.br)

Examples

1
2

gRapHD documentation built on Feb. 9, 2018, 6:05 a.m.

Related to convData in gRapHD...