Re: [R] Ranger could not work with caret

2022-07-01 Thread Neha gupta
Thank you so much for your help. I hope it will work. However, why the same error doesn't arise when I am using rf. They both have the same parameters and it's default values. Best regards On Friday, July 1, 2022, Rui Barradas wrote: > Hello, > > The error is in Ranger parameter mtry becoming

Re: [R] split apply on multiple variables

2022-07-01 Thread PIKAL Petr
Hi Maybe lapply(mydf.split, function(x) aggregate(x[,4:5], list(x$date), sum)) For your particular case, but lacking overall genarality. Cheers Petr > -Original Message- > From: R-help On Behalf Of Naresh Gurbuxani > Sent: Friday, July 1, 2022 1:08 PM > To: r-help@r-project.org >