It performs chi-square test for two models comparison.

cmpChi(r1, r2)

Arguments

r1

A result from nlr

r2

Another result from nlr

Details

One model should include the other model.

Value

Returns a p-value from pchisq

Author

Kyun-Seop Bae <k@acr.kr>