I need a script to perform a regression in R

A little rusty on this, but with every combo of fungicides, it sounds like a 6X4 factorial design.

Here's a fairly detailed step by step by through a 2X3 factorial design.

However, I'd pair that with a textbook.

If you internet search for "Factorial Anova in R" and similar search terms, you'll find a ton more vignettes, guides, and videos, of varying quality.

Just a note on our homework policy, FAQ: Homework Policy

TL:DR How to Ask a Homework Related Question:

  1. Do not ask verbatim copy-paste questions
  2. Explicitly mention the course you are taking.
  3. Be sure to ask your question as close to a reproducible example (reprex) as you can. Preferably using the reprex-package