Multivariate analysis for PCA and HCPC

yupana_mvr(
  data,
  last_factor = NULL,
  summary_by = NULL,
  groups = NULL,
  variables = NULL
)

Arguments

data

Field book data.

last_factor

The last factor in your fieldbook.

summary_by

Variables for group the analysis.

groups

Groups for color in PCA.

variables

Variables to be use in the analysis.

Value

result and plots

Details

Compute and plot information for multivariate analysis (PCA, HCPC and correlation).

Examples

if (FALSE) { library(inti) library(gsheet) url <- paste0("https://docs.google.com/spreadsheets/d/" , "17vZ6ZqFlEi2XsYyCcZD3WRa0lBQUQDrzMqs-3F0TZ2Y/" , "edit#gid=120747730") # browseURL(url) fb <- gsheet2tbl(url) mv <- fieldbook_mvr(data = fb , last_factor = "block" , summary_by = c("treat") , groups = "treat" ) }