Aggregate data across records with duplicated locations
aggregateCRT.Rd
aggregateCRT
aggregates data from a "CRTsp"
object or trial data frame containing multiple records with the same location,
and outputs a list of class "CRTsp"
containing single values for each location, for both the coordinates and the auxiliary variables.
Arguments
- trial
An object of class
"CRTsp"
containing locations (x,y) and variables to be summed- auxiliaries
vector of names of auxiliary variables to be summed across each location