#’ —- #’ theme: metricas paisagem no r: landscapemetrics #’ autor: mauricio vancine #’ data: 2022-07-05 #’ —-
# pacotes
library(tidyverse)
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1
## ✔ tibble 3.1.8 ✔ dplyr 1.0.10
## ✔ tidyr 1.3.0 ✔ stringr 1.4.1
## ✔ readr 2.1.2 ✔ forcats 0.5.2
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
library(sf)
## Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE
library(raster)
## Carregando pacotes exigidos: sp
##
## Attaching package: 'raster'
##
## The following object is masked from 'package:dplyr':
##
## select
library(fasterize)
##
## Attaching package: 'fasterize'
##
## The following object is masked from 'package:graphics':
##
## plot
##
## The following object is masked from 'package:base':
##
## plot
library(landscapemetrics)
library(tmap)
# source
source("https://raw.githubusercontent.com/phuais/multifit/master/multifit.R")