check_data_for_RDA {GABB}R Documentation

check_data_for_RDA function

Description

This function check if the factor variables used for RDA fit the required conditions. Results are grouped and conclusions go / no go are displayed in the console and saved in a table. This function is mainly derived from the explanations of Maxime Herve https://www.maximeherve.com/r-et-statistiques

Usage

check_data_for_RDA(data_quant, initial_data, factor_names)

Arguments

data_quant

Data frame of numeric values, generally transformed and scalled

initial_data

Initial data frame, including both numeric and factor columns

factor_names

Character vector of considered factor variables/columns : c("Variable1", "Variable2")

Value

Outputs are saved in a data frame and conclusions are displayed in console.

Examples


check_data_for_RDA(mtcars[,1:7], mtcars, c("gear","carb"))


[Package GABB version 0.3.8 Index]