Displaying 1 result from an estimated 1 matches for "k04p".
Did you mean:
504p
2012 Oct 17
3
z.test for dataframe
Hi!
I'm trying to use sapply to my dataframe for z.test function (teaching
demos package)
Sep=cbind(kIp,k02p,k04p,k07p)
Sep=as.data.frame(Sep)
kzt=sapply(Sep, function(m) z.test(m,sd(m)))
Error in z.test(m, sd(Sep)) :
You must specify a Standard Deviation of the population
kzt=sapply(Sep, function(m) z.test(m,sd(Sep)))
Error in z.test(m, sd(Sep)) :
You must specify a Standard Deviation of the population...