Hello,
Thank you so much for replying !
I have another question. My study is longitudinal. 8 subjects have 5 samples from 5 timepoints (8*5=Total 40 samples). For tune() and perf() function, is “Mfold” going to be appropriate choice? if so, should I choose (40 samples/5) 8 fold validation, or (8 subjects/4)= 2 fold validation.
Thank you!