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 at 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