signpred {plsRglm} | R Documentation |
Graphical assessment of the stability of selected variables
Description
This fonctions plots, for each of the model, the
Usage
signpred(
matbin,
pred.lablength = max(sapply(rownames(matbin), nchar)),
labsize = 1,
plotsize = 12
)
Arguments
matbin |
Matrix with 0 or 1 entries. Each row per predictor and a column for every model. 0 means the predictor is not significant in the model and 1 that, on the contrary, it is significant. |
pred.lablength |
Maximum length of the predictors labels. Defaults to full label length. |
labsize |
Size of the predictors labels. |
plotsize |
Global size of the graph. |
Details
This function is based on the visweb
function from
the bipartite package.
Value
A plot window.
Author(s)
Bernd Gruber with minor modifications from
Frédéric Bertrand
frederic.bertrand@utt.fr
https://fbertran.github.io/homepage/
References
Vazquez, P.D., Chacoff, N.,P. and Cagnolo, L. (2009) Evaluating multiple determinants of the structure of plant-animal mutualistic networks. Ecology, 90:2039-2046.
See Also
See Also visweb
Examples
signpred(matrix(rbinom(160,1,.2),ncol=8,dimnames=list(as.character(1:20),as.character(1:8))))
[Package plsRglm version 1.5.1 Index]