Learn R Programming

radviz3d (version 2.3.0)

Gtrans: G-trasformation function

Description

function to transform discrete or mixture of discrete and continuous datasets to continuous datasets with marginal normal(0,1).

Usage

Gtrans(data, cl = NULL, VariableSelection = FALSE, p_threshold = 0.05, ...)

Value

A transformed continuous dataset with the same copula as the input dataset and margianl normal(0,1).

Arguments

data

The dataset to be transforms. The dataset can be discretein all columns, continuous in all columns or a mixture of continuous columns and discrete columns.

cl

The class information of the dataset. This is not required when VariableSelection = FALSE.

VariableSelection

Logical. If true, anova will be performed to each variable to see whether there is a difference among groups for that variable. The varaible associated with Bonferroni adjusted p-value larger than a threshold will be removed.

p_threshold

The threshold for adjusted p-value in variable selection when VariableSelection = TRUE.

...

Additional arguments passed to internal functions.