
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Generate reports in R using an R notebook, run code blocks, format outputs, and export to HTML, Word, or PDF, with markdown tips.
Learn to compute group means in R using the Tarpley function, grouping data by irrigation, maturity, or population per acre to analyze yield across blocks.
learn to summarize agricultural data in r with the dplyr package, using library calls and group_by to compute mean yield, min, and coefficient of variation across populations and blocks.
Run a correlation in R between injury at ten days after treatment and crop weight at twenty days, interpret p-values, and compare Pearson and Spearman methods with plots.
Apply multi-factor ANOVA in R, using year as a factor and including year and era as fixed effects, then perform mean separation with the SCG test.
Experimental design
The package agricolae provides extensive resources for the planning and analysis of planned field experiments. Designs constructed by agricolae can be visualised with agricolaeplotr. The CRAN task for ExperimentalDesign provide additional information on experimental design for a wide variety of research problems. desplot is for plotting maps of agricultural trials laid out in grids. DiGGer was developed for rectangular field trials; its purpose is to help users determine the optimal experimental design based on the treatment structure and number of replicates. inti provides functionality for experimental design and manipulation and it is focused on FieldBook compatibility.
Get The Secrets to use R and RStudio to Analyse your Agriculture Data with Practical Coding Exercises
The course is designed to provide students with a comprehensive introduction to data collection, analysis, and reproducible report preparation using R and R studio. The course focuses on the context of environmental and agricultural science, as well as environmental and agricultural economics, to provide relevant examples to students.
Throughout the course, students learn to identify the appropriate statistical techniques for different types of data and how to obtain and interpret results using the R software platform. The course covers various statistical methods such as ANOVA, linear regression, generalized linear regression, and non-parametric methods. Online lectures are used to explain and illustrate these methods, and practical computer-based exercises are provided to help students develop their knowledge and understanding of each approach.
In addition to statistical methods, the course also introduces basic programming concepts that allow R to be used for automating repetitive data management and analysis tasks. Students are also exposed to the advanced graphics capacity of R and learn about the workflow for reproducible report generation.
Upon completion of the course, students will have the knowledge and skills necessary to undertake data analysis at a standard that meets most workplace demands using R. This course provides a strong foundation for further study and application of data analysis techniques, making it an essential course for students pursuing careers in environmental and agricultural sciences or related fields.
Overall, the course aims to equip students with practical skills and knowledge for data analysis and report generation in the context of environmental and agricultural sciences, which will help them become better-prepared professionals in their future careers.