Domanda

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.

È stato utile?

Soluzione

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, ...)
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top