powered by
Implies nrow() and ncol().
nrow()
ncol()
# S3 method for hstats_matrix dim(x)
A numeric vector of length two providing the number of rows and columns of "M" object stored in x.
x
An object of class "hstats_matrix".
fit <- lm(Sepal.Length ~ . + Petal.Width:Species, data = iris) s <- hstats(fit, X = iris[-1]) x <- h2_pairwise(s) dim(x) nrow(x) ncol(x)
Run the code above in your browser using DataLab