Learn R Programming

siland (version 2.0.5)

plotBsiland.land: Map of Bsiland result

Description

Function creating a map of Bsiland result, i.e. buffers estimations for each landscape variable.

Usage

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

Value

a ggplot of class of the landscape effect estimated in the Bsiland object x i.e. a map of buffers.

Arguments

x

an object resulting from Bsiland

land

the object of class sf describing the landscape variable, i.e. the land argument in the call to the Bsiland function that computed x

data

the dataframe describing response variable and the local variables, i.e. the data argument in the call to the Bsiland function that computed x.

var

a vector containing the numbers (numeric) of the mapped landscape variables.

landviz

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

See Also

Bsiland

Examples

Run this code
# \donttest{
data(dataSiland)
data(landSiland)
resB=Bsiland(obs~x1+L1+L2,land=landSiland,data=dataSiland)
plotBsiland.land(x=resB,land=landSiland,data=dataSiland)
plotBsiland.land(x=resB,land=landSiland,data=dataSiland,var=2)
# }

Run the code above in your browser using DataLab