TheSatoLab / KP.2_short

0 stars 0 forks source link

In argument: `date.bin = cut(date.num, seq(0, max(date.num), bin.size))`. #3

Open liamxg opened 1 month ago

liamxg commented 1 month ago

Dear @ninjin-cake,

After running the code, still have error as below:

All 4 chains finished successfully.
Mean chain execution time: 13.5 seconds.
Total execution time: 15.1 seconds.

`summarise()` has grouped output by 'group_Id'. You can override using the `.groups` argument.
Error in `mutate()`:
ℹ In argument: `date.bin = cut(date.num, seq(0, max(date.num), bin.size))`.
Caused by error in `seq.default()`:
! 'to' must be a finite number
Run `rlang::last_trace()` to see where the error occurred.
Warning message:
Groups with fewer than two datapoints have been dropped.
ℹ Set `drop = FALSE` to consider such groups for position adjustment purposes.
liamxg commented 1 month ago
image
ijampei commented 1 month ago

Hi @liamxg, Please check your "max(date.num)". It should be a finite number.

liamxg commented 1 month ago

Hi @ijampei,

Thanks. I use a subdata set of metadata download from GISAID as the whole metadata is too large for my cp.