Skip to content
Prev 308167 / 398503 Next

z.test for dataframe

Hello,

Without a data example I can't test this but, the call to ?z.test seems 
to be wrong, you are passing a value for argument 'mu' equal to sd(m) 
but _not_ passing a value for argument 'stdev'. Try

kzt <- sapply(Sep, function(m) z.test(m, stdev = sd(m)))


Hope this helps,

Rui Barradas
Em 17-10-2012 07:45, Balqis escreveu: