Exam2.2 {eda4treeR}R Documentation

Example 2.2 from Experimental Design & Analysis for Tree Improvement

Description

Exam2.2 is used to compare two seed lots by using ANOVA under RCB Design.

Author(s)

  1. Muhammad Yaseen (myaseen208@gmail.com)

  2. Sami Ullah (samiullahuos@gmail.com)

References

  1. Williams, E.R.; Matheson, A.C.; Harwood, C.E. (2002).Experimental design and analysis for tree improvement. CSIRO Publishing.

See Also

DataExam2.2

Examples

library(tidyverse)
data(DataExam2.2)
fmtab2.5  <-
 lm(
  formula       = dbh~Blk+SeedLot
  , data        = DataExam2.2
  # , subset
  # , weights
  # , na.action
  , method      = "qr"
  , model       = TRUE
  , x           = FALSE
  , y           = FALSE
  , qr          = TRUE
  , singular.ok = TRUE
  , contrasts   = NULL
)

anova(fmtab2.5)

DataExam2.2 %>%
  dplyr::group_by(SeedLot) %>%
  dplyr::summarize(Mean=mean(dbh),sd=sd(dbh))


[Package eda4treeR version 0.3.0 Index]