Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have data values (lets call it Data) in a specific coordinates (Primary and Secondary angle). Some coordinates have multiple Data such that I'm summing these together.
Currently I have
aggr(sum(Data),Primary,Secondary) to add all the values in one coordinate (don't know if there is better way to do this) and then plotted as in the attached image.
My question is can I somehow group/sum close data points to make areas?
for example Primaryangles from -30 to -20; -20 to -10; -10 to 0 etc and same for Secondary angles such that point coordinates in that area are summed up and visualized as color filling that rectangle area. Color then indicates how big the sum of Data in the area is (as it is now).
hi
may be use class function
class(
aggr(sum(Data),Primary,Secondary)
, 10
)