View source: R/select_eigentraits.R
select_eigentraits | R Documentation |
This function is used to identify which eigentraits will be analyzed in the Cape run. After eigentrait decomposition of n traits, there will be n eigentraits. If there are more than two eigentraits, the user may wish to analyze a subset of them. This function specifies which of the eigentraits will be analyzed by Cape. It does this by subsetting the ET matrix to only those eigentraits specified. The traits not selected are deleted from the object.
select_eigentraits(data_obj, traits_which = c(1, 2))
data_obj |
a |
traits_which |
A vector of integers, of at least length two specifying which eigentraits should be analyzed. |
updated Cape
object
plot_svd
## Not run:
data_obj <- selecct_eigentraits(data_obj, traits_which = 1:3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.