What is a mean with trim mean? For example, trim = 0.1....
Default S3 method:
mean(x, trim = 0, na.rm = FALSE, ...)
An R object. Currently there are methods for numeric/logical vectors and date, date-time and time interval objects. Complex vectors are allowed for trim = 0, only.
the fraction (0 to 0.5) of observations to be trimmed from each end of x before the mean is computed. Values of trim outside that range are taken as the nearest endpoint.