Lorenzo,

I don't know about your specific function, but you can access matrix using
the []'s. So maybe something like :
CRPS <- raster(ncol=10, nrow=10)
CRPS[] <- crps(obs[],pred[])

Etienne

2012/11/26 Lorenzo Alfieri <alfios17@hotmail.com>

> CRPS <- raster(ncol=10, nrow=10)
> for (i in 1:length(obs)){
>   CRPS[i] <- crps(obs[i],pred[i])$CRPS
>

	[[alternative HTML version deleted]]

