Running examples in ‘bimixt-Ex.R’ failed
The error most likely occurred in:

> ### Name: lr.test
> ### Title: lr.test
> ### Aliases: lr.test
> 
> ### ** Examples
> 
> case=rmix(50,10,1.2,15,1,.7) 
> control=rmix(50,10,1.2,15,1,.95) 
> model1=bimixt.model(case=case,control=control, type="4c") 
> model2=bimixt.model(case=case,control=control, type="binorm") 
> lr.test(model1, model2)
Error in model1$control != model2$control || model1$case != model2$case : 
  'length = 50' in coercion to 'logical(1)'
Calls: lr.test
Execution halted
Running examples in ‘bimixt-Ex.R’ failed
The error most likely occurred in:

> ### Name: lr.test
> ### Title: lr.test
> ### Aliases: lr.test
> 
> ### ** Examples
> 
> case=rmix(50,10,1.2,15,1,.7) 
> control=rmix(50,10,1.2,15,1,.95) 
> model1=bimixt.model(case=case,control=control, type="4c") 
> model2=bimixt.model(case=case,control=control, type="binorm") 
> lr.test(model1, model2)
Error in model1$control != model2$control || model1$case != model2$case : 
  'length = 50' in coercion to 'logical(1)'
Calls: lr.test
Execution halted