Hi Bensli,
I'm using the method to approximate the p-value, but I meet an error, can you please help me figure it out?
Error in tapply(seq_len(41852L), list(INDICES = c(0L, 0L, 0L, 0L, 0L, :
arguments must have same length
My data structure is below:

Thanks, have a great day!
Best,
Jane
Hi Bensli,
I'm using the method to approximate the p-value, but I meet an error, can you please help me figure it out?
My data structure is below:

Thanks, have a great day!
Best,
Jane