Shows the study-area mean of one covariate for every month and year, which makes the seasonal cycle read down each column and interannual change read across rows. Useful for spotting gaps in the covariate record and for sanity- checking that a fetched variable behaves the way it should (SST peaking in late summer, for instance).
Arguments
- means
a data frame from
covariate_monthly_means()- covariate
which covariate to plot; defaults to the first present
- path
where to write a PNG;
NULLreturns the plot instead
Examples
if (FALSE) { # \dontrun{
result <- run_taupatch("inst/configs/mock_test.yaml")
plot_covariate_heatmap(result$covariate_means, "SST")
} # }