Learn R Programming

CovCorTest (version 1.1.0)

Listcheck: Function to transform the data into a list, if there are not already

Description

Function to transform the data into a list, if there are not already

Usage

Listcheck(X, nv)

Value

A list with two components

X

Dataset in the right format: for a single group, a single matrix. For multiple groups, a list with an element for each group containing a matrix.

nv

Number of subjects per group: NV for a single group and a vector for multiple groups.

Arguments

X

object that should be checked

nv

number of subjects per group