View source: R/check_data_for_RDA.R
check_data_for_RDA | R Documentation |
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
check_data_for_RDA(data_quant, initial_data, factor_names)
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") |
Outputs are saved in a data frame and conclusions are displayed in console.
check_data_for_RDA(mtcars[,1:7], mtcars, c("gear","carb"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.