Description Usage Arguments Value Examples
Performs the deviance analysis for the generalized linear model using binomial or quasibinomial family. The function also returns multiple comparison test with tukey adjustment
1 2 3 4 5 6 7 8 9 10 11 12 | quali_model(
trat,
resp,
n = 50,
family = "binomial",
ylab = "Germination (%)",
xlab = expression("Temperature ("^"o" * "C)"),
reversed = TRUE,
angle = 0,
sup = NA,
theme = theme_classic()
)
|
trat |
Numerical or complex vector with treatments |
resp |
Numerical vector containing the response in percentage of the experiment. |
n |
Number of seeds per repetition |
family |
a description of the error distribution and link function to be used in the model. For glm this can be a character string naming a family function, a family function or the result of a call to a family function. |
ylab |
Variable response name (Accepts the expression() function) |
xlab |
treatments name (Accepts the expression() function) |
reversed |
Letter order (default is FALSE) |
angle |
x-axis scale text rotation |
sup |
Number of units above the standard deviation or average bar on the graph |
theme |
ggplot2 theme (default is theme_bw()) |
The function returns analysis by glm (binomial or quasibinomial family), post-hoc and column graph
1 2 3 4 | library(seedreg)
data("aristolochia")
attach(aristolochia)
quali_model(trat, resp, n=25, family="quasibinomial")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.