data("iris")
results=compare_plot(inputframe=iris,treat_location=5,
value_location=1,ylab_text = "Sepal Length")
#Check statistics
results$Statistics
#Extract plot
results$Barplot
results$Boxplot
results$Violinplot
iris$Treat2=rep(c(rep("A",25),rep("B",25)),3)
results=compare_plot(inputframe=iris,treat_location=5,
value_location=1,facet_location = 6,
ylab_text = "Sepal Length")
#Check statistics
results$Statistics
#Extract plot
results$Barplot
results$Boxplot
results$Violinplot
#Extract combined plot
results$All_Barplot
results$All_Boxplot
results$All_Violinplot
Run the code above in your browser using DataLab