50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

siland (version 1.0)

plotcontri: Plot contributions

Description

Plot contributions for the different landscape variables

Usage

plotcontri(res, land, data, type = 0, numvar = NULL)

Arguments

res

a result form siland estimation

land

the landscape associated to the estimation res

data

the observations associated to the estimation res

type

type of plot, 1 or 2. For type equal to 0 (by default), a graphic for each local and landscape variable is displayed. For type equal to 1, the rate of landscape with local contribtions is displayed.

numvar

a number indicating the variable that has to be displayed. If NULL (by default), graphics are displayed following the argument type.

Examples

Run this code
# NOT RUN {
data(landSiland)
data(dataSiland)
res=siland(y~locvar,land=landSiland,data=dataSiland,sif="exponential",family=gaussian)
# }
# NOT RUN {
plotcontri(res,landSiland,dataSiland)
# }
# NOT RUN {
plotcontri(res,landSiland,dataSiland,type=1)
plotcontri(res,landSiland,dataSiland,numvar=2)
# }

Run the code above in your browser using DataLab