powered by
Draws a QQ-plot of a numeric variable per level of a factor.
byf.qqnorm(formula, data, ...)
a formula of the form a ~ b where a gives the data values and b a factor giving the corresponding groups.
a ~ b
a
b
an optional data frame containing the variables in the formula formula. By default the variables are taken from environment(formula).
formula
environment(formula)
other arguments to pass to qqPlot.
qqPlot
link[RVAideMemoire]{byf.shapiro}, qqPlot
link[RVAideMemoire]{byf.shapiro}
# NOT RUN { data(iris) byf.qqnorm(Sepal.Length~Species,data=iris) # }
Run the code above in your browser using DataLab