Exam4.4: Example 4.4 from Experimental Design and Analysis for Tree...

Exam4.4R Documentation

Example 4.4 from Experimental Design and Analysis for Tree Improvement

Description

Exam4.4 presents the height means for 4 seedlots under factorial arrangement for two levels of Fertilizer and two levels of Irrigation.

Author(s)

  1. Muhammad Yaseen (myaseen208@gmail.com)

  2. Sami Ullah (samiullahuos@gmail.com)

References

  1. E.R. Williams, C.E. Harwood and A.C. Matheson (2023). Experimental Design and Analysis for Tree Improvement. CSIRO Publishing (https://www.publish.csiro.au/book/3145/).

See Also

DataExam4.4

Examples

library(car)
library(dae)
library(dplyr)
library(emmeans)
library(ggplot2)
library(lmerTest)
library(magrittr)
library(predictmeans)
library(supernova)

data(DataExam4.4)

# Pg. 58
fm4.6    <-
  aov(
      formula     = Height ~ Rep + Irrig*Ferti*SeedDLot +
                             Error(Rep/Irrig:Ferti)
    , data        = DataExam4.4
    )

# Pg. 61
 summary(fm4.6)

# Pg. 61
model.tables(x = fm4.6, type = "means")

# Pg. 61
emmeans(object = fm4.6, specs = ~ Irrig)
emmip(object = fm4.6, formula  = ~ Irrig) +
    theme_classic()


MYaseen208/eda4treeR documentation built on May 8, 2023, 5:58 p.m.