dimnames.hstats_matrix: Dimnames of "hstats_matrix" Object

View source: R/utils_statistics.R

dimnames.hstats_matrixR 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)

hstats documentation built on May 29, 2024, 6:43 a.m.