quali_model | R Documentation |
Performs the deviance analysis for the generalized linear model using binomial or quasibinomial family. The function also returns multiple comparison test with tukey adjustment
quali_model( trat, resp, method = "glm", n = 50, family = "binomial", ylab = "Germination (%)", xlab = expression("Temperature ("^"o" * "C)"), reversed = TRUE, angle = 0, sup = NA, theme = theme_classic(), font.family = "sans", geom = "bar" )
trat |
Numerical or complex vector with treatments |
resp |
Numerical vector containing the response in percentage of the experiment. |
method |
method for analysis (analysis of variance - aov or analysis by generalized linear model - glm) |
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()) |
font.family |
Font family (default is sans) |
geom |
type of graph ("bar" or "point") |
The function returns analysis by glm (binomial or quasibinomial family), post-hoc and column graph
library(seedreg) data("aristolochia") attach(aristolochia) quali_model(trat, germ, n=25, family="quasibinomial")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.