plotsiland: Plot results from siland function

View source: R/plotsiland.R

plotsilandR Documentation

Plot results from siland function

Description

Plot locations of observed data and locations of landscape variables. The black points correspond to the locations of observed data, and the size is propotional to numeric values. The locations of different landscape variables are displayed with small points of different colours. Estimated mean distance of spatial influence for each landscape variable is indicated beside the graphic with a continuous line. Dashed line indicates the radius that gives 95 percent of the total influence of each landscape variable.

Usage

plotsiland(res, land, data)

Arguments

res

an object obtained from the function siland

land

an object of class sf that gives the landscape variables

data

a dataframe with the response variable and the local variables

Value

an object of class ggplot

Examples


data(dataSiland)
data(landSiland)
res=siland(obs~x1+L1+L2,land=landSiland,data=dataSiland,sif="exponential")
plotsiland(res,landSiland, dataSiland)


siland documentation built on March 31, 2023, 7:33 p.m.