When I run the codes in a R studio .
it was wrong with the errors as follows
Error in l$window_data[[i]]$mid :
$ operator is invalid for atomic vectors
In addition: Warning message:
In split.default(x = seq_len(nrow(x)), f = f, drop = drop, ...) :
data length is not a multiple of split variable
I'm sorry I missed this message. It is not easy for me to diagnose the problem. This might happen if you did not import the window data file and only imported the weights file. Is that what you did?
When I run the codes in a R studio . it was wrong with the errors as follows Error in l$window_data[[i]]$mid : $ operator is invalid for atomic vectors In addition: Warning message: In split.default(x = seq_len(nrow(x)), f = f, drop = drop, ...) : data length is not a multiple of split variable