[R] name of object
Claus Atzenbeck
claus.atzenbeck at freenet.de
Mon Nov 14 13:47:11 CET 2005
Hi,
I have the following function:
test <- function(x)
{
print(shapiro.test(x))
...
}
The output for "test(sample1$sec)" is:
Shapiro-Wilk normality test
data: x
W = 0.9447, p-value = 0.5767
...
I would like to see "data: sample1$sec" instead of "data: x", as it
would be when directly called "shapiro.test(sample1$sec)".
How can I do that? I browsed the documentation and other literature, but
did not find any solution.
Thanks.
Claus
More information about the R-help
mailing list