Description Usage Arguments Value Author(s) Examples
View source: R/Species.FinGerm.comp.R
Compare Final germination percentage for two species. The results are plotted using boxplots, different letters indicate significant differences among testS and species. The figure is automatically saved in 16:9 at 300 dpi.
1 | Species.FinGerm.comp<-function(Germ.Analysis.exp_sp1, Germ.Analysis.exp_sp2, sp_name=NULL , colour="yes", Test.int=NULL)
|
Germination.Analysis.output_sp1 |
output from Germination.Analysis function for species 1 |
Germination.Analysis.output_sp2 |
output from Germination.Analysis function for species 2 |
colour |
can be "yes" (coloured by test.type) or "no" (B/W output) or a vector that specify the groups of tests (length of vector must be equal to n° of petri) |
Test.int |
character vector where are indicated the types of tests that would be compared |
Anova |
anova results, summary(aov) |
Tukey |
Post-hoc Tukey test output |
Test |
Test compared |
Fin_germ |
Final germination percentage for each test analysed |
Boxplot_Fin.Germ |
ggplot output |
Michele Di Musciano (michele.dimusciano@graduate.univaq.it)
1 2 3 4 5 6 7 | file_germ_sp1<-read.csv("your_germination_file_sp1.csv", sep=";", header=T)
file_germ_sp2<-read.csv("your_germination_file_sp2.csv", sep=";", header=T)
Germination.Analysis.output_sp1<-Germination.Analysis(file_germ, Nv.seed = NULL, n.seed=20, cv=1.5)
Germination.Analysis.output_sp2<-Germination.Analysis(file_germ, Nv.seed = NULL, n.seed=20, cv=1.5)
Species.FinGerm.comp(Germination.Analysis.output_sp1, Germination.Analysis.output_sp2, colour = "yes")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.