Learn R Programming

siland (version 1.4.6)

plotFsiland: Plot results from Fsiland function

Description

Plot locations of observed data and locations of landscape variables. The locations of 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

plotFsiland(res, land, data)

Arguments

res

an object obtained from the function Fsiland

land

a list with the location of the landscape variables. Each component of the list is a dataframe with two columns "X" and "Y" indicating the locations of each landscape variable.

data

a dataframe with the response variable and the local variables

Value

an object of class ggplot

Examples

Run this code
# NOT RUN {
data(dataSiland)
data(landSiland)
res=Fsiland(loc.model=y~locfac,land=landSiland,data=dataSiland,sif="exponential",family="gaussian")
plotFsiland(res,landSiland, dataSiland)
# }

Run the code above in your browser using DataLab