Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mat2vec

Creates a vector from a matrix


Description

creates a vector from a matrix

Usage

mat2vec(mat,upper=FALSE)

Arguments

mat

a symmetric matrix

upper

whether the upper triangular matrix is to be copied to the vector

Value

a vector

Examples

{

 mat2vec(matrix(1:16,nrow=4))
 mat2vec(matrix(1:16,nrow=4),upper=TRUE)
}

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.