| Title: | Disease Intensity and Progress Curve Indices for Plant Pathology |
|---|---|
| Description: | Provides standardised functions for quantifying plant disease intensity and disease development over time. The package implements Percent Disease Index (PDI) for assessing overall disease severity based on categorical ratings, Area Under the Disease Progress Curve (AUDPC) for summarizing disease progression using trapezoidal integration, and Relative AUDPC (rAUDPC) for expressing disease development relative to the maximum possible severity over the observation period. These indices are widely used in plant pathology and epidemiology for comparing treatments, cultivars, and environments. |
| Authors: | Dr. Pramit Pandit [aut, cre], Dr. Bikramjeet Ghose [aut] |
| Maintainer: | Dr. Pramit Pandit <[email protected]> |
| License: | GPL-3 |
| Version: | 0.1.0 |
| Built: | 2026-05-23 15:12:02 UTC |
| Source: | https://github.com/cran/PDIndex |
Calculates the Area Under the Disease Progress Curve (AUDPC) using the trapezoidal integration method.
AUDPC(time, severity)AUDPC(time, severity)
time |
A numeric vector of time points (e.g., days after sowing or inoculation). Values must be in strictly increasing order. |
severity |
A numeric vector of disease severity values corresponding to each time point. |
AUDPC is calculated as:
where is disease severity at time .
A numeric value representing AUDPC.
{ time <- c(0, 7, 14, 21, 28) severity <- c(5, 15, 30, 45, 60) AUDPC(time, severity) }{ time <- c(0, 7, 14, 21, 28) severity <- c(5, 15, 30, 45, 60) AUDPC(time, severity) }
Calculates Percent Disease Index (PDI) based on disease grades and their corresponding frequencies.
PDI(freq)PDI(freq)
freq |
A numeric vector of frequencies for each disease grade (starting from grade 0). |
PDI is calculated as:
where N is the total number of observations.
A numeric value representing Percent Disease Index (PDI).
{ freq <- c(10, 8, 6, 4, 2, 1) PDI(freq) }{ freq <- c(10, 8, 6, 4, 2, 1) PDI(freq) }
Calculates the Relative Area Under the Disease Progress Curve (rAUDPC), which expresses AUDPC as a percentage of the maximum possible disease development over the observation period.
rAUDPC(time, severity, max_severity)rAUDPC(time, severity, max_severity)
time |
A numeric vector of time points (e.g., days after sowing or inoculation). Values must be in strictly increasing order. |
severity |
A numeric vector of disease severity values corresponding to each time point. |
max_severity |
A numeric value representing the maximum possible disease severity on the rating scale. |
rAUDPC is calculated as:
where is the area under the disease progress curve,
and are the maximum and minimum time points,
and is the maximum disease severity.
A numeric value representing relative AUDPC (percentage).
{ time <- c(0, 7, 14, 21, 28) severity <- c(5, 15, 30, 45, 60) max_severity <- 100 rAUDPC(time, severity, max_severity) }{ time <- c(0, 7, 14, 21, 28) severity <- c(5, 15, 30, 45, 60) max_severity <- 100 rAUDPC(time, severity, max_severity) }