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)

data(DataExam4.4)

# Pg. 58
fm4.6    <-
  aov(
      formula = height ~ repl + irrig*fert*seedlot +
                         Error(repl/irrig:fert)
    , 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 Sept. 18, 2024, 12:51 p.m.