
dear useRs,
i have a list containing 16 matrices. i want to calculate  the column mean of each of them.
i tried
 >sr <- lapply(s,function(x) colMeans(x, na.rm=TRUE))
but i am getting the following error
>Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric
can it be done in any other way? and why i am getting this error??
thanks in advance..
elisa 		 	   		  
	[[alternative HTML version deleted]]


