Winnie09 / Lamian

47 stars 11 forks source link

pertumation/chisq issue #8

Open xzsword opened 2 years ago

xzsword commented 2 years ago

Hi,

It is a great package and I do like it. Now when I put a subsample of my data into it with test.method = "permutation", I got an error: Error in llr.overall[i, 2:nrow(llr.overall)] : subscript out of bounds

However, when I change the test.method = "chisq", I can run it smoothly. I checked the code with the data and find that the fit object generated from the permutation got only one list without null. and after remove the null in fit,, only one list remain. Could you please help me how to fix the issue so that I can run my data by permutation too?

Thank you for your last answer!

Winnie09 commented 1 year ago

Hi @xzsword I appreciate your interest in this package! Sorry that I didn't reply sooner. Could you give the structure of the data by returning the output of the command str(data)?