map.to.lev function

rearrange data frame for plotting with levelplot