get_cov: Obtain the covariance matrix

Description Usage Arguments Value

View source: R/get_cov.r

Description

If the input data is a square matrix, it is converted into a matrix, otherwise the covariance matrix is obtained. The covariance matrix uses the cov function of base, and the option for processing missing values is 'pairwise.complete.obs'.

Usage

1

Arguments

data

A dataframe or a matrix

Value

The covariance matrix


eunscho/unirel documentation built on Dec. 20, 2021, 6:44 a.m.