dimnames.hstats_matrix {hstats} | R Documentation |
Extracts dimnames of the "M" matrix in x
. Implies rownames()
and colnames()
.
## S3 method for class 'hstats_matrix'
dimnames(x)
x |
An object of class "hstats_matrix". |
Dimnames of the statistics matrix.
fit <- lm(as.matrix(iris[1:2]) ~ Petal.Length + Petal.Width * Species, data = iris)
s <- hstats(fit, X = iris[3:5], verbose = FALSE)
x <- h2_pairwise(s)
dimnames(x)
rownames(x)
colnames(x)