Companion to R for Plant Disease Epidemiology Book
Analysis of foci structure and dynamics (AFSD)
Binary Power Law Analysis for Spatial Disease Patterns
Survival analysis for quantitative ordinal scale data.
Random Subgrid Sampling of a Binary Matrix
Count the Number of Ones in Subareas of a Matrix
Calculate the Disease Severity Index (DSI) (class for each unit)
Calculate the Disease severity Index (DSI) (frequency of each class)
Fit Gradient Models to Data
Fetch NASA POWER Data for Multiple Locations with a Progress Bar
Test for Spatial Join Count Statistics
Boustrophedon Run Test for Binary Matrix
Runs Test for Each Row and Column of a Binary Matrix
Runs Test
Plot ASFD
Custom ggplot2 theme based on cowplot::theme_half_open
Windowpane Tests for Correlation Analysis
Window Pane for Epidemiological Analysis
Datasets and utility functions to support the book "R for Plant Disease Epidemiology" (R4PDE). It includes functions for quantifying disease, assessing spatial patterns, and modeling plant disease epidemics based on weather predictors. These tools are intended for teaching and research in plant disease epidemiology. Several functions are based on classical and contemporary methods, including those discussed in Laurence V. Madden, Gareth Hughes, and Frank van den Bosch (2007) <doi:10.1094/9780890545058>.