dear Mathew

mean is a Generic function 

mean(x...)

in wich x is a data object, like a  data frame a list a numeric vector...

so in your example it only reads the first character and then reports it.

try x = c(1,1,2)
mean(x)

kind regards,
Tom


Disclaimer: click here
	[[alternative HTML version deleted]]

