powered by
Extracts dimnames of the "M" matrix in x. Implies rownames() and colnames().
x
rownames()
colnames()
# S3 method for hstats_matrix dimnames(x)
Dimnames of the statistics matrix.
An object of class "hstats_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)
Run the code above in your browser using DataLab