If you type:
class(z.ex)
you'll see that your z-test produces an object with a class "htest."
Then type:
methods("plot")
you'll get a list of all the types of objects that the plot() function
knows how to make plots for. It doesn't look like plot has a sub-
method for an htest object,
Hi, I am a beginner in R and is trying to plot some dot plot from t test
result.
I was following the example
## Example from z.test -- requires TeachingDemos package
# library(TeachingDemos)
# z.ex <- z.test(rnorm(25,100,5),99,5)
# z.ex
# plot(z.ex)
but encounter this error for the last command
2 matches
Mail list logo