uwwi: Un-weighted Weather Indices

View source: R/unweightedweatherindices.R

uwwiR Documentation

Un-weighted Weather Indices

Description

Converts the weekly weather data into yearly un-weighted weather indices(simply averaged)

Usage

uwwi(y, weatherp)

Arguments

y

A vector of yearly yield data for t years

weatherp

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

Value

A vector of 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
wwi.maxtem<-wwi(Burdwanriceyield$burdwan,Burdwanweather$Max.Temperature)
wwi.maxtem

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