CheckDataSet: Check a data set.

Description Usage Arguments Details Value Author(s) Examples

View source: R/CheckDataSet.r

Description

This function checks if a data set is a data frame or a matrix and it saves the data as a matrix of integers, and stores the names of rows, colums and levels for each variable as vectors to use them later.

Usage

1
CheckDataSet(datanom)

Arguments

datanom

It can be a data frame or a matrix.

Details

The function checks if some variable has NA values and it deletes the corresponding row. It also checks for missing categories and recodifies the variable keeping the original labels for levels.

Value

An object of class "data.ordinal". This has components:

datanom

Matrix of integers with the values of the variables

RowNames

Vector with the names of the rows

ColumNames

Vector with the names of the variables

LevelNames

Levels of each variable

Author(s)

Julio Cesar Hernandez Sanchez, Jose Luis Vicente-Villardon

Maintainer: Julio Cesar Hernandez Sanchez <juliocesar_avila@usal.es>

Examples

1
2

OrdinalLogisticBiplot documentation built on May 2, 2019, 3:35 p.m.