Learn R Programming

siland (version 1.4.6)

plotBsiland.land: Spatial representation of the estimated buffers

Description

The function gives a spatial representation of buffer for the different variables. Representation can be done for each variable in the estimated model.

Usage

plotBsiland.land(x, land, data, var = 1,landviz=F )

Arguments

x

an object of class Bsiland obtained with function Bsiland()

land

an object of class sf that gives the landscape variables for observations.

data

a dataframe containing the response variable and the local variables. The dataframe must be the same than the one used to obtain the object x.

var

a numeric value that gives the landscape variable for the spatial representation.

landviz

If landviz=T (by default), polygons where variable var is observed are colored in gray.

Value

an object of class ggplot

See Also

Bsiland

Examples

Run this code
# NOT RUN {
data(dataSiland)
data(landSiland)
resE=Fsiland(y~locvar,land=landSiland,data=dataSiland,sif="exponential",family=gaussian)

plotFsiland.land(x=resE,land=landSiland,data=dataSiland)
plotFsiland.land(x=resE,land=landSiland,data=dataSiland,var=1,lw=20)
# }

Run the code above in your browser using DataLab