On 9/4/2009 8:36 AM, Petar Milin wrote:
Hello ALL!
Can anyone tell me how to specify qqmath() function with distribution
qgamma?
In help it is bit vague how to pass shape and scale parameters for gamma.
Take a look at the first example, which passes in the df parameter for a
t distribution. You want something like
x <- runif(1000) # not a gamma, plot should look bad
qqmath(~ x, distribution=function(x) qgamma(x, shape=2, scale=2))
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.