R Markdown

Este es un ejemplo de la precipitacion en cbba.

library(rasterVis)
## Loading required package: raster
## Loading required package: sp
## Loading required package: lattice
## Warning: package 'lattice' was built under R version 3.5.3
## Loading required package: latticeExtra
## Loading required package: RColorBrewer
library(raster)
library(rgdal)
## rgdal: version: 1.5-12, (SVN revision 1018)
## Geospatial Data Abstraction Library extensions to R successfully loaded
## Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
## Path to GDAL shared files: C:/Users/MIRKO DELFIN/Documents/R/win-library/3.5/rgdal/gdal
## GDAL binary built with GEOS: TRUE 
## Loaded PROJ runtime: Rel. 6.3.1, February 10th, 2020, [PJ_VERSION: 631]
## Path to PROJ shared files: C:/Users/MIRKO DELFIN/Documents/R/win-library/3.5/rgdal/proj
## Linking to sp version:1.4-2
## To mute warnings of possible GDAL/OSR exportToProj4() degradation,
## use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
datos <- list.files("C:/Users/MIRKO DELFIN/Google Drive (mdelfin@ucb.edu.bo)/1_MODELACION_AMBIENTAL_2020/1_MODULOS/1_MODULO_1/2_EJERCICIO_2/Datos",full.names = TRUE,pattern = ".tif$")
pp <- stack(datos) # Crear una Compilacion

levelplot(pp)

levelplot(pp, par.settings = RdBuTheme)

histogram(pp)

densityplot(pp)

bwplot(pp)

levelplot(pp, layers = 1, margin = list(FUN = 'median'), contour=TRUE)