| HuntingSpiders | R Documentation |
Abundances for 12 species of hunting spiders along with environmental predictors, all rated on a 0–9 scale.
data("HuntingSpiders")
A data frame containing 28 observations on 18 variables (12 species abundances and 6 environmental predictors).
numeric. Abundance of species Arctosa lutetiana (on a scale 0–9).
numeric. Abundance of species Pardosa lugubris (on a scale 0–9).
numeric. Abundance of species Zora spinimana (on a scale 0–9).
numeric. Abundance of species Pardosa nigriceps (on a scale 0–9).
numeric. Abundance of species Pardosa pullata (on a scale 0–9).
numeric. Abundance of species Aulonia albimana (on a scale 0–9).
numeric. Abundance of species Trochosa terricola (on a scale 0–9).
numeric. Abundance of species Alopecosa cuneata (on a scale 0–9).
numeric. Abundance of species Pardosa monticola (on a scale 0–9).
numeric. Abundance of species Alopecosa accentuata (on a scale 0–9).
numeric. Abundance of species Alopecosa fabrilis (on a scale 0–9).
numeric. Abundance of species Arctosa perita (on a scale 0–9).
numeric. Environmental predictor on a scale 0–9.
numeric. Environmental predictor on a scale 0–9.
numeric. Environmental predictor on a scale 0–9.
numeric. Environmental predictor on a scale 0–9.
numeric. Environmental predictor on a scale 0–9.
numeric. Environmental predictor on a scale 0–9.
The data were originally analyzed by \bibcitetpartykit::VanDerAart+SmeenkEnserink:1975. \bibcitetpartykit::Death:2002 transformed all variables to the 0–9 scale and employed multivariate regression trees.
Package mvpart (currently archived, see https://CRAN.R-project.org/package=mvpart).
*
## load data
data("HuntingSpiders", package = "partykit")
## fit multivariate tree for 12-dimensional species abundance
## (warnings by mvtnorm are suppressed)
suppressWarnings(sptree <- ctree(arct.lute + pard.lugu + zora.spin + pard.nigr + pard.pull +
aulo.albi + troc.terr + alop.cune + pard.mont + alop.acce + alop.fabr +
arct.peri ~ herbs + reft + moss + sand + twigs + water, data = HuntingSpiders,
teststat = "max", minsplit = 5))
plot(sptree, terminal_panel = node_barplot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.