dear experts, i am a novice and have been trying to use the anderson-darling test on a simple text file with one column of data. i have followed the example in the manual to read from a file into a vector(mm). i am able to see the summary stats with >summary(mm) however, when i try to use the ad.test package, it keeps coming up with the following error messages, > ad.test(mm) Error in "[.data.frame"(x, complete.cases(x)) : undefined columns selected > > ad.test(EQ) Error in inherits(x, "factor") : object "EQ" not found
EQ is the name ( in the top row of the column, imported with read.table( file, header=TRUE) of the column of the data. i am really sorry if this is very basic, but i have not been able to locate anything specific on how to avoid this error message in the archives. any help is highly appreciated, bhisma -- _______________________________ Bhismadev Chakrabarti Department of Psychiatry University of Cambridge Cambridge, UK ______________________________________________ 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