panel.mean | R Documentation |
Erstellt Mittelwertdiagramm Mittelwerte in bwplots copie von panel.average()
panel.mean(
x,
y,
fun = mean,
horizontal = TRUE,
lwd = reference.line$lwd,
lty = reference.line$lty,
col = trellis.par.get("superpose.symbol")$col,
col.line = reference.line$col,
type = "p",
pch = trellis.par.get("superpose.symbol")$pch,
...,
identifier = "linejoin"
)
set.seed(1)
res = data.frame(coef=rnorm(99) + (-1):1,
habitat=sample(letters[1:4], 99, TRUE),
grp=c("W", "X", "Y"))
bwplot(coef ~ habitat | grp, data = res, type="p",
panel=function(...){
# panel.bwplot(..., pch='|')
panel.mean(...)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.