| ggRegression | R Documentation |
Get GIMMS3g NDVI time series data
ggRegression(
data,
vars = c("slope", "R2", "adjR2", "pValue"),
save = FALSE,
filename = NULL,
colour = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan", "#7FFF7F", "yellow",
"#FF7F00", "red", "#7F0000"))(255)
)
data |
rasterStack with date information |
vars |
currently only takes all variables |
save |
specify if you want to save the plot to file or not, default = FALSE |
filename |
define filename if plot should be saved to file |
colour |
specify colour palette of ggplot2::scale_fill_gradientn() |
ggplot2 object
## Not run:
library(ggmap2)
dat_v0 <- ndvi3g(extent = c(10, 30, 30, 50), version="v0", startyear=1981,
endyear=1985, path="/media/matt/Data/Documents/Wissenschaft/Data/GIMMS")
ggRegression(data=dat_v0)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.