Analysis of Experimental Designs in R Studio #CRD #RCBD #LSD #FactorialRCBD
ImIqbalStat
0:00 / 0:00
Analysis of Experimental Designs in R Studio #CRD #RCBD #LSD #FactorialRCBD
3 347 просмотров · 2 года назад
ImIqbalStat
1,57 тыс. подписчиков
3 347 просмотров · 2 года назад
data link
https://docs.google.com/spreadsheets/...
########
install.packages(AgroR)
library(AgroR)
##########
Import data set, from the link above
#############
Use the below functions
####functions for Completely Randomized Design
with(eod, DIC(treatment, yield, mcomp = "lsd",
fill='trat', ylab = "Yield kg/ha"))
###functions for Randomized Complete Block Design
with(eod, DBC(treatment, rep, yield,
fill='trat',ylab="Grain yield kg/ha"))
######functions for Latin Square Design
with(eod, DQL(trt, row, column,mcomp='lsd',
fill='trat', yield, ylab="Yield Kg/ha" ))
####functions for factorial experiment ( RCBD with two factors)
a=FAT2DBC(Shade, Spacing, Replication,
Biomass,ylab="Biomass in kg",legend = "Spacing")
plot_interaction(a)