Introducción

Configuración

rm(list=ls())

Se agregan las librerias requeridas para los procesos relacionados en la actividad que se busca realizar.

library(sp)
library(terra)
## terra 1.7.55
library(sf)
## Linking to GEOS 3.9.3, GDAL 3.5.2, PROJ 8.2.1; sf_use_s2() is TRUE
library(stars)
## Loading required package: abind
library(gstat)
library(automap)
library(leaflet)
library(leafem)
library(ggplot2)
library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:terra':
## 
##     intersect, union
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(curl)
## Using libcurl 8.3.0 with Schannel
h <- new_handle()
handle_setopt(h, http_version = 2)

Leer los datos de entrada