Aggregate the corresponding xyz values of xyz values for each xyz group by given function.

aggregateXYZs(xyz.list, FUN = mean, na.rm = FALSE, ...)

Arguments

xyz.list

A list of list with xyz values.

FUN

The function for aggregate the values.

na.rm

Remove the NA values or not. If TRUE, NA values will not be considered. Otherwise, the NA values will be filled with the mean of nearby values.

...

Other parameters for the FUN.

Value

A list of xyz.