Learn R Programming

siland (version 1.0)

plotsiland: Plot results from siland function

Description

Plot locations of observed data and locations of landscape variables. The location of black points corresponds 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 landscape variable.

Usage

plotsiland(res, land, data)

Arguments

res

a dataframe obtained from the function siland

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

Examples

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

Run the code above in your browser using DataLab