Wen Zhang wrote:

> I have three files of data which are available at http://zhangw.com/ 
> R/, varied at the number of data. I tried to use R to analyze using  
> shapiro.test, ks.test, and t.test. t.test ran as expected, however,  
> when I run shapiro.test and ks.test commands, error message always  
> occurred. Error message for
> shapiro.test is
> "Error in "[.data.frame"(x, complete.cases(x)) :
>       undefined columns selected"
> 
> ks.test is
> "Error in ks.test(control) : argument "y" is missing, with no default"
> 
> As a newcomer to R, I don't know how to deal with this. Can anyone  
> help me?

Please start reading the posting guide and the help files of those 
functions.
Without you giving a reproducible example, we cannot help that much.

Uwe Ligges



> --- ---
> 
> Life is a foreign language; all man mispronouce it.
>                  ---Christopher Morley
> 
> 终于,那野兽倒下了,异教徒们为此而欢庆。 但是 
> 一切并未结束,因为一只巨鸟已从灰烬中诞生。那鸟 
> 从空中俯视着异教徒们,向他们施放火与雷电。因为 
> 这野兽已重生为巨鸟,恢复了力量。金钱的追随者们 
> 在恐惧中后退。
> 
>                    Mozilla 之书, 7:15
> 
> My Blog: http://zhangw.com/wp/
> 
> Reclaim Your Inbox!
> http://www.mozilla.org/products/thunderbird
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to