Learn R Programming

hstats (version 1.2.2)

dimnames.hstats_matrix: Dimnames of "hstats_matrix" Object

Description

Extracts dimnames of the "M" matrix in x. Implies rownames() and colnames().

Usage

# S3 method for hstats_matrix
dimnames(x)

Value

Dimnames of the statistics matrix.

Arguments

x

An object of class "hstats_matrix".

Examples

Run this code
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