Learn R Programming

VDSM (version 0.1.1)

CheckInput: Check if the input is valid or not

Description

Input a valid matrix

Usage

CheckInput(X, f, p)

Arguments

X

A m*p matrix which each row represents one unique model with the elements either 0 or 1.

f

A vector with m elements contain each model's frequency in X.

p

The number of variate in the model

Value

The standardized matrix