Pregunta

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.

¿Fue útil?

Solución

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, ...)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top