Barplots for the Results of a Three-Factor Experiment

  Рет қаралды 7,481

StatDOE by Rosane Rech

StatDOE by Rosane Rech

Күн бұрын

R code: statdoe.com/barplots-for-thre...
This video presents a suggestion on how to present the results of a three-factor experiment using bar plots.
The code can be accessed at: statdoe.com/barplots-for-thre...
R packages: ggplot2, ggthemes, dplyr, multcompview, egg
R functions: aov, TukeyHSD, mlupcompLetters4, group_by, summarise, arrange, ggplot, geom_bar, geom_errorbar, xlab, ylab, expression, theme_few, legend.position, legend.title, facet_grid, geom_text, tag_facet, tag_pool .
www.statdoe.com

Пікірлер: 25
@Marie2303able
@Marie2303able Жыл бұрын
Thank you!! It's really helpful!
@KN-tx7sd
@KN-tx7sd 2 жыл бұрын
Thank you Rosane, can I request if you could kindly put a demo to show ANOVA for grouped bar plots in R with statistical significance displayed as either numerical or as asterisks above the grouped bars with error bars.
@Esther-kz9xc
@Esther-kz9xc 3 жыл бұрын
Thank you very much !
@RosaneRech
@RosaneRech 3 жыл бұрын
You are welcome!
@fendocu2148
@fendocu2148 Жыл бұрын
Thanks for your good tutorial.
@RosaneRech
@RosaneRech Жыл бұрын
Glad it was helpful!
@urleyadrianperez7497
@urleyadrianperez7497 Жыл бұрын
Hi, Rosane thank you very much for the video. I would like to know if you know how I can put the letters of the Tukey or LSD test horizontally because in my bar chart, there are many letters and they do not look good. Thank you very much
@maxadmalik
@maxadmalik 2 жыл бұрын
Hi Rosane, Thank you so much for sharing such an informative course. I am facing the following error in code. (Error in comp[[i]] : subscript out of bounds) will you suggest me something to overcome it.
@hebertopolancoortega6585
@hebertopolancoortega6585 5 ай бұрын
I need to label y axis with "Regeneration percentage (%)" but in the code I can't write % because shows me an error. How can I put % in y axis? 🙏🏽
@iot3136
@iot3136 3 жыл бұрын
Awesome 🤩 Thank you Rosane. Looking forward to learning what is your approach for 4 independent variables and 1DV, 4 way anova. At the moment I am following your DoE course at Udemy.
@RosaneRech
@RosaneRech 3 жыл бұрын
Very good to know you've enrolled in the course! You are going to find the approach for four factors in sections 6 and 7 in the course. Let me know if you have questions or if there is some missing topics.
@iot3136
@iot3136 3 жыл бұрын
@@RosaneRech Thank you Rosane. Course is comprehensive and informative. Thank you for your great effort for compiling this. With reference to lessons 48 to 51; Suppose if there is a interaction among T,P,C,ω; I’m interested to know how I could visualize 4 factors in One graph. Do I have to go for facet wrap? Then I feel it’d be harder for reader to get an idea at once and would have to go through each combinations.
@RosaneRech
@RosaneRech 3 жыл бұрын
@@iot3136 Hi. After I have answered here, I've realised that in the end, the course example has three factors. I am preparing a tutorial on four factors, but you are right: the idea is to facet_grid, splitting it horizontally by one variable, vertically by the other variable, one as colour and one as x-axis.
@iot3136
@iot3136 3 жыл бұрын
@@RosaneRech Thank you Rosane. Looking forward to the tutorial soon ☺️. You are amazing. Btw, may I suggest you to create another udemy course for understanding fundamentals of statistics with R. Then parametric and non parametric statistics. I am sure you will do it elegantly.
@RosaneRech
@RosaneRech 3 жыл бұрын
@@iot3136 Thanks for the suggestion! I will keep it in mind.
@endalewassefa8872
@endalewassefa8872 3 жыл бұрын
Thank you for this interesting video. 1. When I run : summary(anova), the rrror is say: Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘Summary’ for signature ‘"aov"’ 2 when i run print(dt), the warning message is say: `...` is not empty. We detected these problematic arguments: * `needs_dots` These dots only exist to allow future extensions and should be empty. Did you misspecify an argument? 3. When I run the ggplot(GTL2, aes----- the error says; Don't know how to automatically pick scale for object of type function. Defaulting to continuous. Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : arguments imply differing number of rows: 84, 0 Could you help me to fix the above errors? thank you.
@RosaneRech
@RosaneRech 3 жыл бұрын
Hi Endalew, You can check and copy the code in the following link: statdoe.com/barplots-for-three-factors/
@danielhagos235
@danielhagos235 11 ай бұрын
Best video
@RosaneRech
@RosaneRech 9 ай бұрын
Thanks!
@nicolaseldecorador3046
@nicolaseldecorador3046 3 жыл бұрын
Great video, thanks. I tried it, by trying use standart error as limitations for errorbars and it did not work out. can you maybe tell me how to change the code so it will show se insted of sd? regards
@RosaneRech
@RosaneRech 3 жыл бұрын
Hi Nicolas, you need to calculate the se: 'se = sd/sqrt(n)' ; n is the number of observations that you get with the code n = n()
@alessand22
@alessand22 3 жыл бұрын
@@RosaneRech could it be like this? dt % summarise(uptake_mean=mean(uptake), sd=sd(uptake), se = sd(uptake)/sqrt(n())) %>% arrange(desc(uptake_mean))
@RosaneRech
@RosaneRech 3 жыл бұрын
@@alessand22 Yes, exactly like this!
@tchistermorrelebissa8628
@tchistermorrelebissa8628 Жыл бұрын
Complex for beginners. Could you start with for exmple one factor, two factors,...from raw data, eg., freh weigh, dry weight and total weight of plants or animals something like that
@RosaneRech
@RosaneRech Жыл бұрын
Hi, please see the tutorials for bar plots for one or two factors: Bar plot for one factor: kzfaq.info/get/bejne/hNWCoMdhrbzLdJs.html Bar plot for two factors: kzfaq.info/get/bejne/eKd5gNWZv72wlWg.html
Creating a barplot with error bars using ggplot2 (CC088)
22:18
Riffomonas Project
Рет қаралды 11 М.
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 29 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
One-Way ANOVA 3 - Using Superscript Letters in Tukey's Test
5:40
StatDOE by Rosane Rech
Рет қаралды 47 М.
Boxplots in R with ggplot and geom_boxplot() [R- Graph Gallery Tutorial]
16:17
Plotting bargraph with SE and alphabets in R | LSD test
13:27
AGRON Info-Tech
Рет қаралды 12 М.
3-way interactions in R
16:19
Busting Bias
Рет қаралды 10 М.
ANOVA 7: How to report the results of Factorial ANOVA in your paper
13:37
Vahid Aryadoust, PhD
Рет қаралды 40 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 1 МЛН
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 588 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18