Learn R Programming

uGMAR (version 1.0.1)

checkPM: Check p and M are correctly set

Description

checkPM checks that the arguments p and M are correctly set.

Usage

checkPM(p, M)

Arguments

p

a positive integer specifying the order of AR coefficients.

M

a positive integer specifying the number of mixture components or regimes.

Value

Doesn't return anything, but throws and error if something is wrong.