Learn R Programming

mdir (version 0.9.0)

checkDataCorrectInput: Check data correct input

Description

Internal function that checks the data passed to ``callMDI`` is the correct format.

Usage

checkDataCorrectInput(X)

Value

No return value, called for side effects.

Arguments

X

Data passed to ``callMDI``. Should be a list of matrices each with N items held in rows.

Examples

Run this code
N <- 100
X <- matrix(c(rnorm(N, 0, 1), rnorm(N, 3, 1)), ncol = 2, byrow = TRUE)
Y <- matrix(c(rnorm(N, 0, 1), rnorm(N, 3, 1)), ncol = 2, byrow = TRUE)
data_modelled <- list(X, Y)
checkDataCorrectInput(data_modelled)

Run the code above in your browser using DataLab