search for: bandnum

Displaying 1 result from an estimated 1 matches for "bandnum".

2012 Oct 17
3
aggregate function not working?
The aggregate function for some reason will now work for me. The error I'm getting is: "Error in sort.list(y) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?" agPriceList=aggregate(PriceList$Size, list(PriceList$bandNum),sum) *Price list dataframe:* dput(PriceList) structure(list(Price = c(0, 8.18, 8.27, 10.42, 10.5, 10.6, 11.13, 11.18, 11.21, 11.35, 11.36, 11.67, 11.89, 11.97, 12.05, 12.11, 12.14, 12.53, 12.63, 12.7, 12.82, 12.96, 13, 13.08, 13.12, 13.14, 13.15, 13.2, 13.43, 13.78, 13.95, 14.04, 14.06, 14.17,...