Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotFsiland.land

Map of Fsiland result


Description

Function creating a map of Fsiland result, i.e. estimatied spatial influence of each landscape variable or for the cumulative effect of all variables.

Usage

plotFsiland.land(x, land, data, var = 0, lw = 100, xlim=NULL, ylim=NULL,plot=T)

Arguments

x

an object resulting from Fsiland

land

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

data

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

var

a vector containing the numbers (numeric) of the mapped landscape variables. If var=0 (by default), the cumulative effect of all landscape variables is represented.

lw

the number of pixels on x-axis and y-axis for the graphical representation. A too high value can lead to memory allocation problems. By default lw=100.

xlim

a length-2 numeric vector, lower and upper limits of x-axis.

ylim

a length-2 numeric vector, lower and upper limits of y-axis.

plot

a logical (TRUE by default). If TRUE, the result is a graphic. If FALSE, the result is a dataframe of the cumulative spatial influence of the landscape variable(s) var.

Value

an object of class ggplot

See Also

Fsiland

Examples

data(dataSiland)
data(landSiland)
resF=Fsiland(obs~x1+L1+L2,land=landSiland,data=dataSiland,sif="exponential")
plotFsiland.land(x=resF,land=landSiland,data=dataSiland)
plotFsiland.land(x=resF,land=landSiland,data=dataSiland,var=1,lw=20)
plotFsiland.land(x=resF,land=landSiland,data=dataSiland,var=2,lw=20)

siland

Spatial Influence of Landscape

v2.0.5
GPL (>= 2.0) | file LICENSE
Authors
Carpentier F. and Martin O.
Initial release
2021-01-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.