Learn R Programming

eda4treeR (version 0.3.0)

Exam2.1: Example 2.1 from Experimental Design & Analysis for Tree Improvement

Description

Exam2.1 is used to compare two seed lots by using single factor ANOVA.

Arguments

References

  1. Williams, E.R., Matheson, A.C. and Harwood, C.E. (2002).Experimental Design and Analysis for Tree Improvement. CSIRO Publishing.

See Also

DataExam2.1

Examples

Run this code
# NOT RUN {
data(DataExam2.1)
library(tidyverse)
fmtab2.3  <-
  lm(
  formula     = dbh ~ SeedLot
, data        = DataExam2.1
# , subset
# , weights
# , na.action
, method      = "qr"
, model       = TRUE
, x           = FALSE
, y           = FALSE
, qr          = TRUE
, singular.ok = TRUE
, contrasts   = NULL
)

anova(fmtab2.3)

DataExam2.1 %>%
  dplyr::group_by(SeedLot) %>%
  dplyr::summarize(Mean = mean(dbh), SD = sd(dbh))
# }

Run the code above in your browser using DataLab