i.uwwi: Un-weighted Interaction Weather Indices

View source: R/unweightedinteractionweatherindices.R

i.uwwiR Documentation

Un-weighted Interaction Weather Indices

Description

Converts the weekly interaction of two weather variable into yearly weighted interaction weather indices

Usage

i.uwwi(y, weatherp1, weatherp2)

Arguments

y

A vector of yearly yield data for t years

weatherp1

Weekly weather data for t years as vector of first weather variable(total observations= number of years*number of weeks in each year)

weatherp2

Weekly weather data for t years as vector of second weather variable(total observations= number of years*number of weeks in each year)

Value

A vector of interaction weather indices

References

Jain, R. C., Agrawal, R., & Jha, M. P. (1980). Effect of climatic variables on rice yield and its forecast. MAUSAM, 31(4), 591-596.

Examples

data(Burdwanweather) #Weekly weather data for the rice growing season in Burdwan
data(Burdwanriceyield) #Yearly Yield data of rice  in Burdwan
i.uwwi.maxmintem<-i.uwwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature,
                         Burdwanweather$Min.Temperature)
i.uwwi.maxmintem

weatherindices documentation built on May 31, 2023, 8:32 p.m.