#Forecasts and observations of Nino-3.4 index
#Load set of polychotomous observations (4 categories) and 9-member ensemble forecasts
data(cnrm.nino34.me)
obsv = cnrm.nino34.me$obsv
fcst = cnrm.nino34.me$fcst
#Calculate skill score
afc.me(obsv,fcst,4)
Run the code above in your browser using DataLab