yupana_mvr | R Documentation |
Multivariate analysis for PCA and HCPC
yupana_mvr(
data,
last_factor = NULL,
summary_by = NULL,
groups = NULL,
variables = NULL
)
data |
Field book data. |
last_factor |
The last factor in your fieldbook [string: NULL]. |
summary_by |
Variables for group the analysis. |
groups |
Groups for color in PCA. |
variables |
Variables to be use in the analysis [string: NULL]. |
Compute and plot information for multivariate analysis (PCA, HCPC and correlation).
result and plots
## Not run:
library(inti)
fb <- inti::potato
mv <- yupana_mvr(data = fb
, last_factor = "geno"
, summary_by = c("geno", "treat")
, groups = "treat"
, variables = c("all")
#, variables = c("wue", "twue")
)
mv$plot[1]
mv$data
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.