Displaying 1 result from an estimated 1 matches for "sw_ted".
Did you mean:
stated
2012 Apr 04
1
Shapiro-Wilk cpoefficients: 2 Qs
...ironment: namespace:stats>
So, on the off-chance that the variable 'sw' computed therein might
contain something useful, I changed "return(RVAL)" to "return(sw)",
just in case the coefficients might be lurking as a component of sw,
and used this to define a function SW_ted(). I then ran
SW_ted(rnorm(30))
# Error in SW_ted(rnorm(30)) : object 'R_swilk' not found
Since shapiro.test(rnorm(30)) works perfectly, and since the
"stats:" namespace is already present, I am wondering why
"object 'R_swilk' not found" when it clearly can...