Learn R Programming

popbio (version 2.4.4)

var2: Calculate a variance matrix

Description

Calculates the variances from a list of matrices

Usage

var2(x)

Arguments

x

A list of two or more matrices

Value

A matrix containing variances

Details

Returns a matrix containing variances from a list of matrices using a combination of unlist and apply.

Examples

Run this code
# NOT RUN {
data(hudsonia)
var2(hudsonia)

# }

Run the code above in your browser using DataLab