dimnames.hstats_matrix {hstats} | R Documentation |
Dimnames of "hstats_matrix" Object
Description
Extracts dimnames of the "M" matrix in x
. Implies rownames()
and colnames()
.
Usage
## S3 method for class 'hstats_matrix'
dimnames(x)
Arguments
x |
An object of class "hstats_matrix". |
Value
Dimnames of the statistics matrix.
Examples
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)
[Package hstats version 1.2.0 Index]