Learn R Programming

Rnest (version 1.2)

covFIML: Full Information Maximum Likelihood (FIML) correlation or covariance matrix

Description

Full Information Maximum Likelihood (FIML) correlation or covariance matrix

Usage

covFIML(data, tol = 1e-6, maxiter = 1000, pvalue = FALSE)

corFIML(data, tol = 1e-6, maxiter = 1000, pvalue = FALSE)

Value

A list containing the means, th correlation or covariance matrix, and optionnaly the degree of freedom and the p-values.

Arguments

data

a data frame of rdata matrix.

tol

tolerance.

maxiter

maximum number of iterations.

pvalue

an argument to indicate if \(p\)-values are required.

Examples

Run this code
covFIML(airquality)

Run the code above in your browser using DataLab