Modification for different types of design For RBD D = as_factor(.data = D, c(Trt, Rep )) hsd=HSD.test(aov(FD~Trt+Rep,data=D), trt = "Trt", group = T) For CRD D = as_factor(.data = D, c(Trt)) hsd=HSD.test(aov(FD~Trt, data=D), trt = "Trt", group = T) For LSD D = as_factor(.data = D, c(Trt, col,row )) hsd=HSD.test(aov(FD~Trt+row+col data=D), trt = "Trt", group = T)
Can you please make a detailed video on SEM ( structural equation modelling) in R? It is an important topic in ecology and sociology experiment. Pls-pm package can be used for this. Previously in one of your video somebody requested for SEM analysis. If would be helpful if you can make a video on this topic. Thank you Sandip
Hello Professor. I am currently working on analysis of RBD data in agricultural sciences. I need help in code modifications for error bars and significance labels in R. Please try to explain the same also.
# Barplot in R D=For_analysis library(ggplot2) library(agricolae) library(dplyr)# 1st and then run value max first library(Rmisc) library(ggpubr) library(metan) D = as_factor(.data = D, c(Loc, Rep,Block,Var.Name )) str(D) # use this if you want to reorder your treat. D$Var.Name % group_by(Var.Name) %>% summarize(max_value = max(FD)) # to get mean ,sd ,se N and ci ####### tgc
Modification for different types of design
For RBD
D = as_factor(.data = D,
c(Trt, Rep ))
hsd=HSD.test(aov(FD~Trt+Rep,data=D), trt = "Trt", group = T)
For CRD
D = as_factor(.data = D,
c(Trt))
hsd=HSD.test(aov(FD~Trt, data=D), trt = "Trt", group = T)
For LSD
D = as_factor(.data = D,
c(Trt, col,row ))
hsd=HSD.test(aov(FD~Trt+row+col data=D), trt = "Trt", group = T)
God job.
nice tutorial
Can you please make a detailed video on SEM ( structural equation modelling) in R? It is an important topic in ecology and sociology experiment. Pls-pm package can be used for this. Previously in one of your video somebody requested for SEM analysis. If would be helpful if you can make a video on this topic.
Thank you
Sandip
Hello Professor. I am currently working on analysis of RBD data in agricultural sciences. I need help in code modifications for error bars and significance labels in R. Please try to explain the same also.
Okay. I will share the code modifications.
# Barplot in R
D=For_analysis
library(ggplot2)
library(agricolae)
library(dplyr)# 1st and then run value max first
library(Rmisc)
library(ggpubr)
library(metan)
D = as_factor(.data = D,
c(Loc, Rep,Block,Var.Name ))
str(D)
# use this if you want to reorder your treat.
D$Var.Name % group_by(Var.Name) %>% summarize(max_value = max(FD))
# to get mean ,sd ,se N and ci
#######
tgc