AUDPS: Area under disease progress stairs

Description Usage Arguments Author(s) References Examples

View source: R/AUDPS.R

Description

Calculates the area under disease progress stairs.

Usage

1
AUDPS(time, y, y_proportion = TRUE, type = "absolute")

Arguments

time

A vector object of time.

y

A vector object of disease intensity.

y_proportion

Logical. If disease intensity is proportion (TRUE) or percentage(FALSE)

type

Set if is absolute or relative AUDPC. type = "absolute" is default.

Author(s)

Kaique dos S. Alves

References

Simko, I., and Piepho, H.-P. 2012. The area under the disease progress stairs: Calculation, advantage, and application. Phytopathology 102:381- 389.

Examples

1
2
epi =  sim_logistic(N = 30, y0 = 0.01,dt = 5, r = 0.3, alpha = 0.5, n = 1)
AUDPS(time = epi$time, y = epi$y, y_proportion = TRUE)

epifitter documentation built on Nov. 26, 2020, 1:07 a.m.