You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm not mistaken, it doesn't matter what value.var is when fun.aggregate is length. Hence, I often forget to set it explicitly in such cases and the warning message comes across as unnecessary noise:
DT = data.table(a = sample(10, 1000, TRUE), b = rep(1:5, 200))
dcast(DT, a ~ b, fun.aggregate = length)
Using 'b' as value column. Use 'value.var' to override
If I'm not mistaken, it doesn't matter what
value.var
is whenfun.aggregate
islength
. Hence, I often forget to set it explicitly in such cases and thewarning
message comes across as unnecessary noise:The text was updated successfully, but these errors were encountered: