[R] pasing names

Heberto Ghezzo Heberto at meakins.lan.mcgill.ca
Wed Jul 19 19:23:20 CEST 2000


Hi, I wrote the simple program below, I want 'bartlett.test' to print the 
real name of the variables, not the dummys 'y' and 'g', Can 
somebody in the list tell me how to pass the names?
.
test <- function(y,g){
#  some other stuff
   bartlett.test(y,g)
#    some other stuff
}
Thanks.

R. Heberto Ghezzo  Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list