The function assignes equally spaced latitude and longitude coordinates to each 1/6 degree pixel and shapes the output for making a map using ggplot.

map_preprocess(pred2, var_to_plot, parms)

Arguments

pred2

dataframe of data.

var_to_plot

character of the name of the variable to plot.

parms

list of user-defined parameters.