aacpd: Area under the disease progress curve (AACPD)

Description Usage Arguments Details References Examples

View source: R/aacpd_function.R

Description

The aacpd function calculates the area under the disease progress curve according to the methodology proposed by Campbell & Madden, 1990

Usage

1
aacpd(dados, tempo, trat, save = FALSE)

Arguments

dados

Data.frame composed of the evaluation in each time in columns.

tempo

Vector numeric with time

trat

Vector with the names of the treatments with the repetitions

Details

AACPD

References

Campbell CL, Madden LV (1990) Introduction to plant disease epidemiology. New York NY. John Wiley & Sons.

Examples

1
2
3
4
5
6
7
8
9
dia7=c(0,2,1, 4,5,6, 2,3,2)
dia14=c(4,5,6, 8,9,8, 14,15,16)
dia21=c(14,20,16, 25,26,28, 30,31,33)
dia28=c(30,35,32, 40,41,44, 46,48,50)
dia35=c(45,47,50, 48,49,50, 50,50,49)
dados=data.frame(dia7,dia14,dia21,dia28,dia35)
trat=rep(c("T1","T2","T3"),e=3)
tempo=c(7,14,21,28,35)
aacpd(dados,tempo,trat)

AgronomiaR/iagro documentation built on April 16, 2020, 10:54 p.m.