This function plots a previously calculated trend.
Usage
plotTrend(df, columnName)
Arguments
df
Data frame containing at least 4 column: lat (latitude), lon (longitude), Slope and an additonal user-defined column columnName.
columnName
name of the column to use for grouping the results.
Value
Two plots, side-by-side, the first showing the distribution of the Trend over a map, based on the slope of the linear model that describes the trend. The second plot shows a boxplot of the Slope grouped based on the column Region. Region and Slope can be user-defined.