as.data.frame.CorrCombo | R Documentation |
Converts a CorrCombo
object into a data frame of variable combinations.
## S3 method for class 'CorrCombo'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
A |
row.names |
Optional row names for the output data frame. |
optional |
Logical. Passed to |
... |
Additional arguments passed to |
A data frame where each row corresponds to a subset of variables. Columns are named
VarName01
, VarName02
, ..., up to the size of the largest subset. Subsets shorter than the
maximum length are padded with NA
.
CorrCombo
set.seed(1)
mat <- matrix(rnorm(100), ncol = 10)
colnames(mat) <- paste0("V", 1:10)
res <- corrSelect(cor(mat), threshold = 0.5)
as.data.frame(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.