Frage

Does anyone know the parameters that the default 'mean' function takes in R?

We're looking to write a variation of the function to use in aggregate and need to know exactly what is expected.

Thanks folks.

War es hilfreich?

Lösung

You can get the answer using ?mean to search local help and ??mean to search the global help.

Most probable answer you are looking for:

mean(x, trim = 0, na.rm = FALSE, ...)
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top