depstat {climatol} | R Documentation |
Listing of monthly and annual average values for a specified period,
from data generated by depudm
.
depstat(varcli, anyi, anyf, anyip = anyi, anyfp = anyf, nm = 12, ndec = 1, vala = 2)
varcli |
Acronym of the name of the studied climatic variable, as in the data file name. |
anyi |
Initial year of the data present in the file (four digits) |
anyf |
Final year of the data present in the file (four digits) |
anyip |
First year of the desired period (>=anyi , with 4 digits) |
anyfp |
Last year of the desired period (<=anyf , with 4 digits) |
nm |
Number of series in each station. (Default=12, for monthly data). |
ndec |
Number of decimal places to be saved in file ‘VAR_AI-AF.med’ |
vala |
Kind of annual value:
|
Purged data are read from file ‘VAR_AI-AF.dep’, generated by
depudm
, while the average data for the specified period
(ai-af) are saved in ‘VAR_ai-af.med’
This function does not return any value.
#Function depudm must be run first (see the example), to create # the file 'PTOT_51-00.dep'. Then you can run: ## Not run: depstat("PTOT",1951,2000,1971,2000,vala=1) #See the results in the file 'PTOT_71-00.med' created by depstat.